Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
i think for seo, and usability of se results, it'll be better if issue pages (for d.o) have a title along the lines of:
issue title | module name | drupal.org
thanks
Comments
Comment #1
dwwMy only concerns are:
A) It's a pain to have the page title for the purposes of the
<title>
tag different from the displayed title in the<h1>
in the body itself. So, that'd mean that the big text at the top of this page would also read:"change page title for issue | Project issue tracking"
Which is redundant info with the "Project: Project issue tracking" in the table right below, and the breadcrumb right above.
B) Some projects have stupidly long titles. That complicates (A). It's not that bad for usability/layout to have a really long
<title>
tag, but that opening<h1>
makes it more complicated to have a huge string.If there are sane answers to these concerns, it'd be a relatively trivial patch.
Comment #2
aclight CreditAttribution: aclight commentedI think dww's concerns are valid. I know that on my site running project* there are several projects with *really* long titles, and that would make both the page title and h1 really long. I'm not sure it's worth doing, especially since searching for issues has improved quite a bit with the D6 version of project_issue.
Comment #3
ben833 CreditAttribution: ben833 as a volunteer commentedComment #4
ben833 CreditAttribution: ben833 as a volunteer commentedWith metatag installed, this is a matter of changing the configuration (@damienmckenna pointed this out on slack in #general)
Comment #5
drummYes, this is a site-specific request. For example, a site with one project might not want this.
If this change is done, we can go back and remove
project_issue_preprocess_html
.Comment #6
drummSee also #2875869: Usability improvement request: Add status to title tag in issue nodes. We need to decide what’s most useful to have in the title, without letting it get too long (or maybe it is okay being really long).