Niemogę poradzić sobię z funkcją extend w TWIGu.
Struktura:
templates/
---default/
-------index.html
-------demo.html
-------footer.html
---oragneblue/
index.php
index.html:
{% block footer %} {% endblock %}
footer.hml:
{% extends "index.html" %} {% block footer %} (c) {{ "now"|date("Y") }} {% endblock %}
i nic nie wyświetla gdy wejdę na strone główną tzn nie wyświetla stopki. I tu pytanie jak to załadować czy źle korzystam z extend? J