Hi,
I use theme inheritance (parent theme is antimatter) as described here : https://learn.getgrav.org/themes/customization#theme-markinheritance/mark . I just want to change the content of header block in templates/partials/base.html.twig. I try to do this without copying the entire base.html.twig file.
Instead, I want to extend antimatter’s base.html.twig and just modify header block content. I naively try this (in templates/partials/base.html.twig in my new theme) :
{% extends "partials/base.html.twig" %}
{% block header %}
new header content here
{% endblock %}
Of course, this does’nt work. Grav extends base.html.twig in new theme (over and over again until php crashes) and not in antimatter. I also tried …/…/antimatter/templates/partials/base.html.twig without success.
Is there any way to reference antimatter file (which has the same name) in extends tag ?