docs nav fix: slugify is no longer valid

This commit is contained in:
perry 2016-02-23 15:01:50 -06:00
parent be7396e3ab
commit f5189bcea0

View File

@ -1,4 +1,4 @@
<@ for doc in docs @><@ if doc.URL and doc.private != true @>
<li class="capitalize {% if page.id == '{{<$ doc.name $> | slugify}}' %}active{% endif %}">
<li class="capitalize {% if page.id == '<$ doc.name|lower|replace(' ','-') $>' %}active{% endif %}">
<a href="/<$ doc.URL $>"><$ doc.name $></a>
</li><@ endif @><@ endfor @>