Add title to nav_list helper
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
{% assign navigation = site.data.navigation[page.sidebar.nav] %}
|
||||
|
||||
<nav class="nav__list">
|
||||
{% if page.sidebar.title %}<header><h4>{{ page.sidebar.title }}</h4></header>{% endif %}
|
||||
<ul>
|
||||
{% for nav in navigation %}
|
||||
<li><span class="nav__sub-title">{{ nav.title }}</span>
|
||||
|
Reference in New Issue
Block a user