Skip to content

Commit

Permalink
LIB-111 Update front-page template re: skip link
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcd75 committed Jan 26, 2024
1 parent 5d8adf4 commit 09f324e
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions custom/themes/lib_unb_ca/templates/page--front.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -150,31 +150,33 @@ set banner_classes = [
</header>

{% block content %}
<div id="main" class="mt-2 {{ container }}" tabindex="-1">
{{ page.breadcrumb }}
<div class="row row-offcanvas row-offcanvas-left clearfix">
<main{{ content_attributes }}>
<section class="section">
<h1 class="sr-only">UNB Libraries</h1>
{{ page.content }}
</section>
</main>
{% if page.sidebar_first %}
<div{{ sidebar_first_attributes }}>
<aside class="section" role="complementary">
{{ page.sidebar_first }}
</aside>
</div>
{% endif %}
{% if page.sidebar_second %}
<div{{ sidebar_second_attributes }}>
<aside class="section" role="complementary">
{{ page.sidebar_second }}
</aside>
</div>
{% endif %}
<main class="my-2 {{ container }}">
{{ page.breadcrumb }}
<div id="main-content" tabindex="-1">
<div class="row row-offcanvas row-offcanvas-left clearfix">
<div class="col order-first">
<section class="section">
<h1 class="sr-only">UNB Libraries</h1>
{{ page.content }}
</section>
</div>
{% if page.sidebar_first %}
<div{{ sidebar_first_attributes }}>
<aside class="section" role="complementary">
{{ page.sidebar_first }}
</aside>
</div>
{% endif %}
{% if page.sidebar_second %}
<div{{ sidebar_second_attributes }}>
<aside class="section" role="complementary">
{{ page.sidebar_second }}
</aside>
</div>
{% endif %}
</div>
</div>
</main>
{% endblock %}

<footer class="site-footer p-0">
Expand Down

0 comments on commit 09f324e

Please sign in to comment.