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

- Add documentation
- Close #272
This commit is contained in:
Michael Rose
2016-04-18 16:26:33 -04:00
parent 1579805e3d
commit bea516b640
4 changed files with 144 additions and 28 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>