sidebar code modification2

master
nq4t 2 years ago
parent e9149c8121
commit eabec3a360

@ -25,7 +25,7 @@
{% for node in pages_list %}
{% if node.sidebar != null %}
{% if node.layout == "page" or node.layout == "page2" %}
{% if node.permalink != null}
{% if node.permalink != null %}
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.permalink }}">{{ node.title }}</a>
{% else %}
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>

Loading…
Cancel
Save