_includes/nav-sub.html in kcc-gem-theme-1.16.2 vs _includes/nav-sub.html in kcc-gem-theme-1.17.2
- old
+ new
@@ -2,10 +2,10 @@
<div class="row">
<div class="col">
<nav class="navbar navbar-light bg-light sub-nav__navbar">
<a class="navbar-brand" href="{{ page.baseurl }}{{ page.sub-nav_section }}"><h3 class="typography__sub-nav--red-h3">{{ page.sub-nav_section | capitalize | replace: "-", " " }}</h3></a>
<ul id="subNavNav" class="nav ml-auto">
- {% assign section = page.sub-nav_section | append: "/" %}
+ {% assign section = page.sub-nav_section | downcase | append: "/" %}
{% for nav in site.sub-nav_links %}
{% if nav.link_href contains section %}
<li class="nav-item js-sub-nav-item">
<a href="{{ page.baseurl }}{{ nav.link_href }}" class="nav-link sub-nav__nav-link">{{ nav.link_text }}</a>
</li>