Skip to content

Commit

Permalink
Pass selectedItem to nested nav list
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvantuycom committed Apr 1, 2024
1 parent aeda5c1 commit 35f6d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/_includes/nav.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
} %}
{% if item.heading is defined %}
<span>{{ item.heading }}</span>
{{ _self.list(item.nested) }}
{{ _self.list(item.nested, selectedItem) }}
{% else %}
{{ tag('a', {
class: {
Expand Down

0 comments on commit 35f6d44

Please sign in to comment.