{% macro posts_latest(section, count) %} {% set section = get_section(path=section~"/_index.md") %} {% for page in section.pages %} {% if loop.index > count %} {% break %} {% endif %} {{ macros::print_article(page=page) }} {% endfor %} {% endmacro %} {% macro print_article(page) %}

{{ page.title }}

{{ page.summary | safe }}

{{ self::page_info(page=page) }}
{% endmacro %} {% macro page_info(page) %} {% if page.date %}
{{ page.date }} {%- if page.extra.author -%} , {{ page.extra.author }} {% endif %}
{% endif %} {% endmacro %} {% macro list_taxonomy(title, kind) %} {{ title }} {% endmacro list_categories %}