Skip to content

Commit

Permalink
feat: add link to skip past all posts to collections
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinwhisman committed Dec 9, 2023
1 parent 09effc0 commit 5abfc50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/writing/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pagination:
<div class="cmp-writing-grid">
<div class="cmp-stack">
<h2>All Posts</h2>
<a href="#collections" class="util-visually-hidden cmp-skip-to-content">Skip to Collections</a>

<ul class="cmp-article-listing__list">
{% for article in articles %}
Expand All @@ -40,7 +41,7 @@ pagination:
</nav>
</div>
<div class="cmp-stack cmp-writing-grid__sticky-section">
<h2>Collections</h2>
<h2 id="collections">Collections</h2>

<ul class="cmp-article-listing__list">
<li>
Expand Down

0 comments on commit 5abfc50

Please sign in to comment.