Skip to content

Commit

Permalink
Fix contents list
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Oct 26, 2023
1 parent 7384bde commit ab00dee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/collection-page.njk
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
{% endif %}
{% if headings %}
<h2 class="tna-heading-l tna-!--hide-on-large tna-!--hide-on-medium">Contents</h2>
<ul class="tna-ul tna-!--hide-on-large tna-!--hide-on-medium">
<ol class="tna-ol tna-ol--plain tna-!--hide-on-large tna-!--hide-on-medium">
{%- for heading in headings %}
<li>
<a href="#{{ heading.href }}">
{{ heading.title }}
</a>
</li>
{%- endfor %}
</ul>
</ol>
{% endif %}
{{ contents | safe }}
</main>
Expand Down

0 comments on commit ab00dee

Please sign in to comment.