{% macro taxonomy_links(terms, kind) -%} {%- for term in terms -%} {%- if not loop.first %}, {% endif -%} {{ term }} {%- endfor -%} {%- endmacro taxonomy_links %} {% macro taxonomy_nav(kind, heading_id, title, description, path, link_label) %} {% set taxonomy = get_taxonomy(kind=kind, required=false) %} {% if taxonomy and taxonomy.items %} {% endif %} {% endmacro taxonomy_nav %} {% macro metadata_field(extra, key, label, lang="") -%} {%- set value = extra | get(key=key, default="") -%} {%- if value -%}