aboutsummaryrefslogtreecommitdiffstats
path: root/_includes/header.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/header.html')
-rw-r--r--_includes/header.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/_includes/header.html b/_includes/header.html
index 1304edc..2e3330b 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -41,7 +41,8 @@
{% else %}
{% assign absolute_href = main_page_href | absolute_url | append: subitem.href }} %}
{% endif %}
- <li class="navigation__item {% if subitem.href == subpage_href %}active{% endif %}">
+ {% assign subitem_href = subitem.href | remove: ".html" %}
+ <li class="navigation__item {% if subitem_href == subpage_href %}active{% endif %}">
<a href="{{ absolute_href }}">{{ subitem.title }}</a>
</li>
{% endfor %}