_includes/nav-sub.html in kcc-gem-theme-1.28.7 vs _includes/nav-sub.html in kcc-gem-theme-1.28.8
- old
+ new
@@ -1,9 +1,9 @@
<div class="container position__sub-nav--offset-fixed-nav">
<div class="row">
<div class="col">
<nav class="navbar navbar-light bg-light sub-nav__navbar">
- <a class="navbar-brand" href="{% if page.sub-nav_section_link == false %}#{% else %}{{ page.baseurl }}{{ page.sub-nav_section }}{% endif %}"><h3 class="typography__sub-nav--red-h3">{{ page.sub-nav_section | capitalize | replace: "-", " " }}</h3></a>
+ <a class="navbar-brand" href="{% if page.sub-nav_section_link == false %}#{% else %}{{ page.baseurl }}{{ page.sub-nav_section | downcase }}{% endif %}"><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 | downcase | append: "/" %}
{% for nav in site.sub-nav_links %}
{% if nav.link_href contains section %}
<li class="nav-item js-sub-nav-item">