{% component taxonomy_links(terms: array, kind: string) -%} {%- for term in terms -%} {%- if not loop.first %}, {% endif -%} {% set term_label = term | replace(from="-", to=" ") if kind != "lectures" else term %} {{ term_label }} {%- endfor -%} {%- endcomponent taxonomy_links %} {% component taxonomy_panel(kind: string, heading_id: string, title: string, description: string, link_label: string) %} {% set taxonomy = get_taxonomy(kind=kind, required=false) %} {% if taxonomy and taxonomy.items %} {% endif %} {% endcomponent taxonomy_panel %} {% component metadata_field(extra, key: string, label: string, lang: string = "") -%} {%- set value = extra | get(key=key, default="") -%} {%- if value -%}