{% macro list_posts(section=false, count=0, taxonomy=false) %}
{% if taxonomy == false and section != false %}
{% set section = get_section(path=section~"/_index.md") %}
{% endif %}
{% for page in section.pages %}
{% if loop.index > count and count != 0 %}
{% break %}
{% endif %}
{{ self::print_article(page=page, author=false) }}
{% endfor %}
{% endmacro %}
{% macro print_article(page, author=true) %}
{{ page.title }}
{{ page.summary | safe }}
{{ self::page_info(page=page, author=author) }}