{% macro hero(title, primary) %} {% set class = "is-bold" %} {% if primary %} {% set class = class ~ " hero is-primary" %} {% endif %}

{{title}}

{% endmacro hero %} {% macro list_articles(pages) %}
{% for page in pages %} {{ post_macros::page_in_list(page=page) }} {% endfor %}
{% endmacro list_articles %} {% macro paginate(paginator) %}
{% endmacro paginate %} {% macro navbar() %} {% if config.extra.zulma_menu or config.extra.zulma_brand or config.build_search_index %} {# This is used for the 404 template, as it only gets the config in its context. This is clearly hacky and should be changed eventually #} {% if not lang %} {% set lang = config.default_language %} {% endif %} {% if not current_url %} {% set current_url = config.base_url %} {% endif %}
{% endif %} {% endmacro navbar %} {% macro footer() %} {% if config.extra.zulma_allow_theme_selection %} {% endif %} {% endmacro footer %} {% macro css() %} {% if config.extra.zulma_theme %} {% else %} {% endif %} {% endmacro css %}