Don't bold every sidebar link on the index page

Fixing a bunch of broken links in Tags/Basics
This commit is contained in:
Adam Hollett
2016-03-15 19:36:24 -04:00
committed by Tetsuro
parent ea16fe9b24
commit 4aacf3f9a1
6 changed files with 23 additions and 30 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
<ul class="section__links">
{% for item in site.pages %}{% if item.url contains section/ %}{% unless item.path contains "index" %}
<li><a href="{{ item.url | prepend: site.baseurl }}" class="section__link{% if item.url contains page.url %} section__link--is-active {% endif %}">{{ item.title }}</a></li>
<li><a href="{{ item.url | prepend: site.baseurl }}" class="section__link{% if item.url contains page.url and page.url != "/" %} section__link--is-active {% endif %}">{{ item.title }}</a></li>
{% endunless %}{% endif %}{% endfor %}
</ul>
{% endfor %}