You are here

footermap-header.html.twig in footermap: a footer site map 8

footermap-header.html.twig

Available variables:

  • title: The menu title.
  • title_attributes: A string of HTML attributes to apply to the title element.
  • attributes: A string of HTML attributes to apply to the list element.
  • items: An array of menu items to render.

File

templates/footermap-header.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * footermap-header.html.twig
  5. *
  6. * Available variables:
  7. * - title: The menu title.
  8. * - title_attributes: A string of HTML attributes to apply to the title
  9. * element.
  10. * - attributes: A string of HTML attributes to apply to the list element.
  11. * - items: An array of menu items to render.
  12. */
  13. #}
  14. <h3{{ title_attributes }}>{{ title }}</h3>
  15. <ul{{ attributes }}>
  16. {% for item in items %}
  17. {{ item }}
  18. {% endfor %}
  19. </ul>