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>
Another 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!