We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5def3c commit 8b7ad76Copy full SHA for 8b7ad76
templates/base.html.twig
@@ -152,7 +152,7 @@
152
'breadcrumbs': page.breadcrumbs is defined ? page.breadcrumbs : {}
153
} %}{% endembed %}
154
{% endblock breadcrumbs %}
155
- <main id="main">
+ <main id="main" {% block extra_main_attributes %}{{ extra_main_attributes|default('')|raw }}{% endblock %}>
156
{% import '@W3CWebsiteTemplates/components/styles/notes.html.twig' as notes %}
157
{{ notes.errors(error_notes) }}
158
{{ notes.successes(success_notes) }}
templates/pages/home.html.twig
@@ -1,6 +1,7 @@
1
{% extends '@W3CWebsiteTemplates/base.html.twig' %}
2
3
{% set body_classes = 'home' %}
4
+{% set extra_main_attributes = 'data-anchor="no"' %}
5
6
{% block breadcrumbs %}{% endblock breadcrumbs %}
7
0 commit comments