{# /** * @file * Theme implementation to display the sitemap. * * Available variables: * - message: A configurable introductory message. * - sitemap_items: A keyed array of sitemap "boxes". * The keys correspond to the available types of sitemap content, including: * - front * - books * - individual menus * - individual vocabularies * Each items contains the following variables: * - title: The subject of the box. * - content: The content of the box. * - attributes: Optional attributes for the box. * - options: Options are set by sitemap.helper service. * - additional: * * @see template_preprocess() * @see template_preprocess_sitemap() */ #}
{% if message %}
{{ message }}
{% endif %} {% if sitemap_items %} {% for item in sitemap_items %} {% if item.content is not empty %} {% if item.options.show_titles %}

{{ item.title }}

{% endif %}
{{ item.content }}
{% endif %} {% endfor %} {% endif %} {% if additional %}
{{ additional }}
{% endif %}