{% macro render(page) %} {% set authors = page.taxonomies.authors | default(value=[]) %} {% for author_slug in authors %} {% set author = get_page(path="authors/"~author_slug~"/index.md") %} {{author.title}}{% if not loop.last %}, {% endif %} {% endfor %}{% if authors | length > 0 %} - {% endif %} {{page.date | date(format=config.extra.date_format)}} {% endmacro %}