Skip to content

Commit 2314456

Browse files
author
fabianmoronzirfas
committed
feat(aside):
1 parent fec6370 commit 2314456

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

_includes/aside-left.html

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,9 @@
99
include all default and the reference
1010
exclude the root path
1111
-->
12-
{% for item in site.pages %}
13-
{% if item.layout != 'entry' %}
14-
{%if item.layout == 'default' or item.layout == 'reference' %}
15-
{% if item.url != '/' %}
16-
<li class="menu-item {% if item.title == page.title %}active{% endif %}"><a href="{{item.url}}">{{item.title}}</a></li>
17-
{% endif %}
18-
{% endif %}
19-
{% endif %}
20-
{% endfor %}
12+
{% for item in site.pages %}{% if item.layout != 'entry' %}{%if item.layout == 'default' or item.layout == 'reference' %}{% if item.url != '/' %}
13+
<li class="menu-item {% if item.title == page.title %}active{% endif %}"><a href="{{item.url}}">{{item.title}}</a></li>
14+
{% endif %}{% endif %}{% endif %}{% endfor %}
2115
</ul>
2216
</nav>
2317
<div class="tweet">

0 commit comments

Comments
 (0)