How do I remove Home from the page title?

I added in page.twig.html this part of code.

{% if not is_front %}

      {{ page.content }}

      {% endif %}

The title appears as follows.


I just want it to be Nekretnina.ba, without Home |.

1 Answer 1


Override html.twig.php in your template, not page.twig.html. May I also suggest metatag for better control over page titles?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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