Skip to content
Snippets Groups Projects
Commit 50526ffb authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-6607: adding new special alert region

parent 6e2f6acb
No related branches found
No related tags found
1 merge request!116ISTWCMS-6607: Adding new special alert template.
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
* @see html.html.twig * @see html.html.twig
*/ */
#} #}
{% extends '@layouts/site-container/site-container.twig' %} {% extends '@layouts/site-container/site-container.twig' %}
{% block header %} {% block header %}
{{ page.header }} {{ page.header }}
...@@ -42,6 +41,10 @@ ...@@ -42,6 +41,10 @@
{{ page.breadcrumb }} {{ page.breadcrumb }}
{% endblock %} {% endblock %}
{% block specialalert %}
{{ page.specialalert }}
{% endblock %}
{% block highlighted %} {% block highlighted %}
{{ page.highlighted }} {{ page.highlighted }}
{{ page.help }} {{ page.help }}
......
{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region div.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{% embed '@layouts/special-alert/special-alert.twig' with {
'classes': classes
}%}
{% block content %}
{{ content }}
{% endblock %}
{% endembed %}
...@@ -30,6 +30,7 @@ ckeditor_stylesheets: ...@@ -30,6 +30,7 @@ ckeditor_stylesheets:
regions: regions:
header: Header header: Header
specialalert: Special alert
highlighted: Highlighted highlighted: Highlighted
content: Content # the content region is required content: Content # the content region is required
footer: Footer footer: Footer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment