In a theme called theme
, I have the following templates setup:
index.html
: provides some_block
for users of the theme to change
base.html
: extends index.html
page.html
: extends base.html
When I include the theme in a site, I use templates/index.html
to override the theme:
{% extends "theme/templates/index.html" %}
{% block some_block %}
<tag>Some user defined content goes here ...</tag>
{% endblock some_block %}
I was expecting this override to be applied to all pages. But Zola applies it only to the index page, not to the others. But as I stated above, all other pages are inheriting from base.html
, which in turn extends index.html
. Am I missing something here?