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 |.

1 Answer 1

2

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

0

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.