Skip to content

Commit

Permalink
docs: fix patterns side nav
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Nov 9, 2023
1 parent 54fe71d commit c8fb5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_includes/component/header.njk
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@
</li>
{%- for link in collections.pattern -%}
<li class="item">
<a class="link {{ 'active' if page.url === pattern.url }}"
href="{{ pattern.url | url }}">{{ pattern.data.title }}</a>
<a class="link {{ 'active' if page.url === link.url }}"
href="{{ link.url | url }}">{{ link.data.title }}</a>
</li>
{%- endfor -%}
</ul>
Expand Down

0 comments on commit c8fb5e2

Please sign in to comment.