{% macro nav_items() %} {% for item in config.extra.nav %}
  • {{ item.title }}
  • {% endfor %} {% endmacro %} {% macro personnel() %} {% for person in section.pages %} {%- set_global image = "/static/img/placeholder.jpg" %} {%- for asset in person.assets %} {%- if asset is matching(person.slug~"[.](jpg|png)$") %} {%- set_global image = asset %} {%- break %} {% endif %} {%- endfor %} {%- set image = resize_image(path=image, width=300, height=300, op="fill") %} {% set_global dataset = "" %} {% if person.extra.beh %} {% for beh in person.extra.beh %} {% set_global dataset = dataset ~ beh %} {% endfor %} {% endif %}
    {{
    {{ person.extra.name }}
    {{ person.extra.role }}
    {% endfor %} {% endmacro %} {% macro gallery(page) %} {% for asset in page.assets %} {% if asset is matching("[.](jpg|png)$") %} {% set image = resize_image(path=asset, width=300, height=200, op="fill") %} {{ asset }} {% endif %} {% endfor %} {% endmacro %}