kocandaci/templates/macros.html

17 lines
415 B
HTML

{% macro nav_items() %}
{% for item in config.extra.nav %}
{% if item.external %}
<li><a class="external" href="{{ item.path }}">{{ item.title }}</a></li>
{% else %}
<li><a href="{{ item.path }}">{{ item.title }}</a></li>
{% endif %}
{% endfor %}
{% endmacro %}
{% macro personnel() %}
{% for person in section.pages %}
{{ person.extra.name }}
{{ person.extra.role }}
{% endfor %}
{% endmacro %}