Add example about deferred blocks
NicoHood opened this issue · comments
NicoHood commented
https://github.com/getgrav/grav-learn/blob/develop/pages/03.themes/04.twig-tags/docs.md
https://learn.getgrav.org/16/themes/twig-tags#deferred-blocks
It would be nice to add an example that contains {{ parent() }}
, for example taken from quark theme:
{% block stylesheets %}
{% do assets.addCss('theme://css/bricklayer.css') %}
{{ parent() }}
{% endblock %}
Andy Miller commented
Why not do a pull request?
Andy Miller commented
I guess you already know how :)