fix active page highlight in the Bootstrap theme

This commit is contained in:
Belle Aerni 2023-01-13 01:38:07 -08:00
parent 44de365946
commit ca54a56eaa

View file

@ -1,7 +1,7 @@
{% for page in pages %}
{% if page.active %}
<li class="nav-item active">
<a class="nav-link" href="{{ page.url }}">{{ page.pageTitle }}</a>
<li class="nav-item">
<a class="nav-link active" href="{{ page.url }}">{{ page.pageTitle }}</a>
</li>
{% else %}
<li class="nav-item">