aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_includes/header.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/_includes/header.html b/_includes/header.html
index 4187462..a7b7933 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -8,13 +8,15 @@
<!-- Navigating -->
<nav>
<ul>
- {% for node in site.pages reversed %} {% if node.sidebar == true %}
- <li class="nav-item">
- <a href="{{ node.url | relative_url | uri_escape }}">
- <span>{{ node.title | smartify | strip_html | normalize_whitespace }}</span>
- </a>
- </li>
- {% endif %} {% endfor %}
+ {% for node in site.pages reversed %}
+ {% if node.show == true %}
+ <li class="nav-item">
+ <a href="{{ node.url | relative_url | uri_escape }}">
+ <span>{{ node.title | smartify | strip_html | normalize_whitespace }}</span>
+ </a>
+ </li>
+ {% endif %}
+ {% endfor %}
</ul>
</nav>
</div>