Improve nav_list helper to be used with any type of navigation list defined in navigation.yml data file

- Close #272
This commit is contained in:
Michael Rose
2016-04-18 16:22:53 -04:00
parent 8cba6c6c41
commit 3e0527fa78
2 changed files with 30 additions and 7 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
{% if s.text %}{{ s.text | markdownify }}{% endif %}
{% endfor %}
{% if page.sidebar.nav %}
{% include nav_list items=page.sidebar.nav %}
{% include nav_list nav=page.sidebar.nav %}
{% endif %}
{% endif %}
</div>