first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{% macro nav_loop(page) %}
|
||||
{% import _self as macros %}
|
||||
|
||||
{% for p in page.children.visible if p.template == 'default' %}
|
||||
{% set active_page = (p.active or p.activeChild) ? ' class="active"' : '' %}
|
||||
{% include 'default.html.twig' with {blog: page, page: p} %}
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user