in html.html.twig in title tags

{{ head_title|safe_join(' | ') }}
  • This code display " home | " how to remove( | ) from display in home page?

  • also in other page display " page | Home " i want title in other page display "Home | page " ?

  • In your second example "page | Home", is 'Home' meant to be the name of the website? – Stefanos Petrakis Jun 3 '18 at 14:37

It's easier and better to override this using the Metatag module.

The D8 version UI looks different than the picture below which is from D7.

This video goes over the D8 version.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.