Oprava zobrazení aktivního tagu v menu

master
Emil Miler 5 years ago
parent 9ca71960ef
commit fb9f290979

@ -15,7 +15,7 @@
{% set global_section = get_section(path="_index.md") %}
{% for s in global_section.subsections %}
{% set subsection = get_section(path=s) %}
<li {% if current_path == subsection.path %}class="active"{% endif %}>
<li {% if current_section.path == subsection.path %}class="active"{% endif %}>
<a href="{{ subsection.permalink }}">{{ subsection.title }}</a>
</li>
{% endfor %}