{% if variable('notices', 'notices').count %}
	{% for notice in variable('notices', 'notices') %}
		{% if (notice.expires is empty or 'now'|date('U') < notice.expires.value|date('U')) %}

			<article class="notices-global" ​​ {% if notice.dismissable_for|trim is not empty %} data-dismissable="{{ notice.dismissable_for }}" {% endif %}>
				<div class="notices-global__container container">
					<div class="notices-global__content">
						<h1 class="notices-global__title">{{ notice.title }}</h1>
						<div class="notices-global__text">
							{{ notice.wysiwyg.content|raw }}
							{# {{ dump(notice) }} #}
						</div>
					</div>
					<a href="#" class="notices-global__dismiss" title="Dismiss Notification"></a>
				</div>
			</article>

		{% endif %}
	{% endfor %}
{% endif %}
