Skip to content

Commit

Permalink
hide 404 from main menu
Browse files Browse the repository at this point in the history
  • Loading branch information
0b10011 committed May 11, 2024
1 parent 6b880fa commit 1c0f3c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h1>
<div class="trigger">
{% assign pages = site.pages | sort:"nav_position" %}
{% for my_page in pages %}
{% if my_page.title %}
{% if my_page.title and my_page.url != "/404.html" %}
<a class="page-link" href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a>
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 1c0f3c7

Please sign in to comment.