Skip to content
Snippets Groups Projects
Commit af517177 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-4847-ebremner-404-pages' into '3.0.x'

ISTWCMS-4847: allowing classes in the main content region

See merge request !59
parents cb042dff 6b569374
No related branches found
No related tags found
2 merge requests!63Tag 3.0.1,!59ISTWCMS-4847: allowing classes in the main content region
<main id="main" class="uw-main" role="main" tabindex="-1">
{% set main_classes = 'uw-main' %}
{% block content %}
{% for class in classes %}
{% set main_classes = main_classes ~ ' ' ~ class %}
{% endfor %}
<main id="main" class="{{ main_classes }}" role="main" tabindex="-1">
{% block content %}
Main content
{% endblock %}
</main>
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