getgrav / grav-learn

Grav Learn (exhaustive grav documentation)

Home Page:http://learn.getgrav.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add example about deferred blocks

NicoHood opened this issue · comments

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 %}

I guess you already know how :)

Sorry for the delay. #850