0

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.

screenshot

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

2

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, privacy policy and cookie policy

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