{% extends 'pages/_base/default.twig' %} {% set options = options|default({}) + { taxonomies_kicker: false, taxonomies_intro: false, taxonomies_container_class: 'col-12', page_type: 'taxonomies', } %} {# Required variables # taxonomy - the taxonomy configuration of selected type # taxonomies - the list of taxonomy entries of selected type (alphabetically sorted and grouped by first letter) #} {# The taxonomies controller cant provide a record, but has a taxonomy configuration #} {% if not record|default %} {% set record = app.storage.getContentObject('portal',{ title: taxonomy.name|default, kicker: options.taxonomies_kicker|default, intro: options.taxonomies_intro|default, status: 'published' }) %} {% endif %} {# Templating ------------------------------------------------------------------------------------------------------- #} {% block content %} {% block taxonomies_intro %} {% include 'blocks/intro/portal.twig' %} {% endblock %} {% block taxonomies_anchors %}