{% macro list_title(pages, tag_name=false) %} {% if tag_name %}

Entries tagged - "{{ term.name }}"

{% else %}

All articles

{% endif %} {% endmacro list_title %} {% macro list_posts(pages, extra) %} {% endmacro list_posts %} {% macro tags(page, short=false) %} {%- if page.taxonomies and page.taxonomies.tags %} {%- if short %} :: {%- set sep = "," -%} {% else %} :: tags:  {%- set sep = " " -%} {% endif -%} {%- for tag in page.taxonomies.tags %} #{{ tag }} {%- if not loop.last %}{{ sep | safe }}{% endif -%} {% endfor -%} {% endif -%} {% endmacro tags %} {% macro content(page, extra) %}

{{ page.title }}

{% if page.extra.author %} {{extra.translations[lang][0].posted_by }} {{ page.extra.author.name }} {% endif %} {{ extra.translations[lang][0].posted_on }} {{ page.date | date(format="%Y-%m-%d") }} {% if page.draft %} DRAFT {% endif %}
{% if page.extra.tldr %}
tl;dr: {{ page.extra.tldr }}
{% endif %}
{{ page.content | safe }}
{% if page.taxonomies and page.taxonomies.tags %} {% endif %}
{% endmacro content %}