Mark active chapter in summary

This commit is contained in:
Samy Pessé
2014-03-31 17:25:00 -07:00
parent ce3e103024
commit 9c211ab214
3 changed files with 6 additions and 6 deletions
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -36,11 +36,11 @@
border-bottom: none;
text-transform: uppercase;
color: #e2edf2;
}
&:hover {
background: #242628;
text-decoration: none;
}
&.active a, a:hover {
background: #242628;
text-decoration: none;
}
}
}
+1 -1
View File
@@ -13,7 +13,7 @@
{% if item.articles.length > 0 %}
<ul class="articles">
{% for article in item.articles %}
<li>
<li {% if article._path == _input %}class="active"{% endif %}>
<a href="{{ basePath }}/{{ article.path }}">{{ article.title }}</a>
</li>
{% endfor %}