Closed douglasduteil closed 10 years ago
you mean you can't overwrite a block who's included in the extended template ? example 1 doesnt work ?
maybe we can flatten a little bit the "base" template, and thus remove some complexity ?
<!-- base.nunjucks -->
<html>
<head>
{% block foo %}
head#foo - Should be overwritten
{% endblock %}
</head>
</html>
Yeah true a flatten version definitely works Thanks :+1:
available to talk about that monster and what we can do about it...
I made a monster :(
I have real doubts with the generated pages... Think we need to make it do more/less somehow... And nunjucks isn't that good... I can't extend a block inside a included file.
Example :
Maybe I'm doing it all wrong I didn't try any thing else. But maybe this is more correct ?
what you think ?