Skip to content

Commit

Permalink
Do not add ul for root dir
Browse files Browse the repository at this point in the history
  • Loading branch information
moisseev committed Apr 4, 2024
1 parent 653afab commit bea3e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sitemap1.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ title: Site map
{% endfor %}
{% for dir in path %}
{% unless dir == nil or dir == prev_path[forloop.index0] %}
{% assign levels_match = forloop.index0 %}
{% unless forloop.index0 == 0 %}{% assign levels_match = forloop.index0 %}{% endunless %}
{% break %}
{% endunless %}
{% endfor %}
Expand Down

0 comments on commit bea3e49

Please sign in to comment.