Page 1 of 1
The problems' titles should also appear in the HTML <title> tags
Posted: Fri Jan 31, 2020 5:38 pm
by shlomifish
Hi all! Currently the title tags (
https://developer.mozilla.org/en-US/doc ... ment/title ) of the individual problems' pages (such as
https://projecteuler.net/problem=31 ) lack the problem's subject line / title / short description (e.g "Coin sums"). This is bad for SEO and also makes the default browser bookmarks less useful. Note that I cannot find that problem page in this DuckDuckGo search:
https://duckduckgo.com/?q=euler+coins+s ... 0-1&ia=web .
Please add it to all the problems' pages.
Re: The problems' titles should also appear in the HTML <title> tags
Posted: Sat Sep 18, 2021 10:06 am
by shlomifish
Do note that I wrote a userscript which provides a partial (and browser-side) fix for the issue:
https://www.shlomifish.org/Files/files/ ... es.user.js
Re: The problems' titles should also appear in the HTML <title> tags
Posted: Sat Sep 18, 2021 10:27 am
by euler
Somehow I'd missed this. Good suggestion. I've modified the title to display: "#{id} {description} - Project Euler".
Re: The problems' titles should also appear in the HTML <title> tags
Posted: Sat Sep 18, 2021 2:19 pm
by SaxTenor
Nice improvement. Thank you

Re: The problems' titles should also appear in the HTML <title> tags
Posted: Sun Sep 19, 2021 11:03 am
by shlomifish
euler wrote: Sat Sep 18, 2021 10:27 am
Somehow I'd missed this. Good suggestion. I've modified the title to display: "#{id} {description} - Project Euler".
Many thanks!
Re: The problems' titles should also appear in the HTML <title> tags
Posted: Sat Dec 11, 2021 12:44 pm
by shlomifish
I noticed that the pages under
https://projecteuler.net/statistics exhibit a similar issue.