diff options
| -rw-r--r-- | _includes/header.html | 3 |
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 %} |
