Change page title output How can I change the page title output?

&lt;title&gt;{{ head_title|safe_join(' | ') }}&lt;/title&gt;


in html.html.twig changes the mark/letter which creates: &lt;pagetitle&gt; | &lt;sitename&gt;, but I want to change this order to &lt;sitename&gt; | &lt;pagetitle&gt;
Another option without the extra module overhead (still a valid option):

&lt;title&gt;{{ head_title|reverse|safe_join(' | ') }}&lt;/title&gt;


Simply add the reverse filter to that part of your html.html.twig file

Twig rulez! Cheers!