How can I change the page title output?
<title>{{ head_title|safe_join(' | ') }}</title>
in html.html.twig changes the mark/letter which creates: <pagetitle> | <sitename>
, but I want to change this order to <sitename> | <pagetitle>
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityAnother option without the extra module overhead (still a valid option):
<title>{{ head_title|reverse|safe_join(' | ') }}</title>
Simply add the reverse filter to that part of your html.html.twig file
Twig rulez! Cheers!