{% comment %} Provides a metadate-block for a blog post. Requires the following objects to be defined: * authors - a list of person_ids * date - date of posting * categories - a set of category names * tags - a set of tag names (will be prefixed with # on output) {% endcomment %}
{% if include.authors %}

Authors:

{% include team_card_mini_bundle.html persons=include.authors %}
{% endif %} {% if include.date %}

Posted on:

{{ include.date | date: "%a, %d.%b.%Y" }} {% endif %}
{% if include.categories.size > 0 %}

Categories:

{% for category in include.categories %} {%- unless site.languages contains category -%} {{ category | capitalize }} {%- endunless -%} {% endfor %} {% endif %} {% if include.tags.size > 0 %}

Tags:

{% for tag in include.tags %} {{ tag | capitalize }} {% endfor %} {% endif %}