Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sets page.messages expression to match localgov_base #244

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions templates/layout/page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@
{{ page.breadcrumb }}
{% endif %}

{% if has_messages %}
{{ page.messages }}
{% endif %}
{{ page.messages }}

<main class="main" id="main-content"> {# The "skip to content" link jumps to here. #}

Expand Down Expand Up @@ -134,12 +132,12 @@
{% endif %}
</div>
</div>

{# When we have no sidebars #}
{% else %}
{#
{#
If there are no sidebars, the content region take up 100% of the space, but:
1. If we are on a node page, we do not constrain the content (this will be handled
1. If we are on a node page, we do not constrain the content (this will be handled
by the node templates, so some parts of the template (hero, etc) can be the full
width of the screen).
2. If we are not on a node page, we'll contain the content, so views pages, taxonomy
Expand Down
Loading