kocandaci/templates/macros.html

17 lines
415 B
HTML
Raw Normal View History

2024-01-09 23:20:06 +01:00
{% 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 %}
2024-01-10 00:55:48 +01:00
{% macro personnel() %}
{% for person in section.pages %}
{{ person.extra.name }}
{{ person.extra.role }}
{% endfor %}
{% endmacro %}