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.
See also
File
templates/sitewide-alert.html.twigView source
- {#
- /**
- * @file 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.
- *
- * @see template_preprocess_sitewide_alert()
- *
- * @ingroup themeable
- */
- #}
- {% if content %}
- {{- content -}}
- {% endif %}