Build navigation list include helper

- Update navigation.yml to support multiple navigations and levels
- Optional include navigation into left sidebar
This commit is contained in:
Michael Rose
2016-03-25 14:12:03 -04:00
parent e52c06273e
commit 678aecdd61
5 changed files with 157 additions and 14 deletions
+3
View File
@@ -15,6 +15,9 @@
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
{% if s.text %}{{ s.text | markdownify }}{% endif %}
{% endfor %}
{% if page.sidebar.nav %}
{% include nav_list.html items=page.sidebar.nav %}
{% endif %}
{% endif %}
</div>
{% endif %}