{{ front_page }} doesn't work in partial I have a partial, partials/header.html.twig, I am calling on one of my sub pages with this code.
{% include directory ~ '/partials/header.html.twig' %}

Whenever I use {{ front_page }} inside the partial to link back to the front page, it doesn't work, but it works on everything else. I have been searching for an answer all morning but can't seem to find anything.
Try:

&lt;a href="{{ path('&lt;front&gt;') }}" title="{{ 'Some Title'|t }}" rel="home" class="some-class"&gt;
     Some Text
    &lt;/a&gt;