Trying new nav
This commit is contained in:
parent
1d8f7ad2ec
commit
78256e8c03
2 changed files with 65 additions and 3 deletions
|
@ -39,9 +39,28 @@
|
|||
{% endif %}
|
||||
|
||||
|
||||
{% for item in site.data.nav[page.sidebar] %}
|
||||
<p><a href="{{ item.url }}">{{ item.text }}</a></p>
|
||||
{% endfor %}
|
||||
<div>
|
||||
{% if site.data.nav2.toc2[0] %}
|
||||
{% for item in site.data.samplelist.toc2 %}
|
||||
<h3>{{ item.title }}</h3>
|
||||
{% if item.subfolderitems[0] %}
|
||||
<ul>
|
||||
{% for entry in item.subfolderitems %}
|
||||
<li><a href="{{ entry.url }}">{{ entry.page }}</a>
|
||||
{% if entry.subsubfolderitems[0] %}
|
||||
<ul>
|
||||
{% for subentry in entry.subsubfolderitems %}
|
||||
<li><a href="{{ subentry.url }}">{{ subentry.page }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</header>
|
||||
<section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue