Problem/Motivation
When we install Drupal 8 if we see the page's <title>
tag then there is no value after the Pipe (|). Compared to Drupal 7 this showed "Drupal" keyword. As per the below image:
Proposed resolution
The page title is generated finally in "core/modules/system/templates/html.html.twig" with a Safe Join filter joining strings coming from $variables['head_title']
. If the site "name" is not set then use "Drupal".
Remaining tasks
- Write a patch
- Some existing tests might fail (there are some dealing with the page title). If so then alter those accordingly.
- Write test for this fix if needed.
User interface changes
TBD
API changes
N/A
Data model changes
N/A