You are here

sitemap.html.twig in Sitemap 8.2

Same filename and directory in other branches
  1. 8 templates/sitemap.html.twig
  2. 2.0.x templates/sitemap.html.twig

Theme implementation to display the sitemap page.

Available variables:

  • message: A configurable introductory message.
  • sitemap_items: An array of renderable content items

File

templates/sitemap.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme implementation to display the sitemap page.
  5. *
  6. * Available variables:
  7. * - message: A configurable introductory message.
  8. * - sitemap_items: An array of renderable content items
  9. *
  10. * @see template_preprocess()
  11. * @see template_preprocess_sitemap()
  12. */
  13. #}
  14. <div class="sitemap">
  15. {% if message %}
  16. <div class="sitemap-message">
  17. {{ message }}
  18. </div>
  19. {% endif %}
  20. {% if sitemap_items %}
  21. {% for item in sitemap_items %}
  22. {{ item }}
  23. {% endfor %}
  24. {% endif %}
  25. </div>