Skip to content

Commit

Permalink
[fix] header generation
Browse files Browse the repository at this point in the history
  • Loading branch information
EsseLowNitro authored Dec 18, 2024
1 parent af2e600 commit 523da49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
<nav id="site-menu">
<ul>
<li {% if include.content == "" %}aria-current="page"{% endif %}><a href="/"><img src="/assets/secureblue.svg" alt=""/>secureblue</a></li>
{% for page in site.pages %}
{% if page.permalink != "/" %}
<li {% if include.content == page.permalink | remove: "/" %}aria-current="page"{% endif %}><a href="{{ page.permalink }}">{{ page.short_title }}</a></li>
{% for i in site.pages %}
{% if i.permalink != "/" %}
<li {% if include.content == i.permalink | remove: "/" %}aria-current="page"{% endif %}><a href="{{ i.permalink }}">{{ i.short_title }}</a></li>
{% endif %}
{% endfor %}
</ul>
Expand Down

0 comments on commit 523da49

Please sign in to comment.