You are here

sitewide-alert.html.twig in Sitewide Alert 8

sitewide_alert.html.twig Default theme implementation to present Sitewide Alert data.

This template is used when viewing Sitewide Alert pages.

Available variables:

  • content: A list of content items. Use 'content' to print all content, or
  • attributes: HTML attributes for the container element.

File

templates/sitewide-alert.html.twig
View source
  1. {#
  2. /**
  3. * @file sitewide_alert.html.twig
  4. * Default theme implementation to present Sitewide Alert data.
  5. *
  6. * This template is used when viewing Sitewide Alert pages.
  7. *
  8. *
  9. * Available variables:
  10. * - content: A list of content items. Use 'content' to print all content, or
  11. * - attributes: HTML attributes for the container element.
  12. *
  13. * @see template_preprocess_sitewide_alert()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. {% if content %}
  19. {{- content -}}
  20. {% endif %}