Attempting new nav layout to fit theme

This commit is contained in:
Zachary Klosko 2020-05-18 10:59:07 -04:00
parent 8d322d0d9f
commit c9d72daa35
2 changed files with 3 additions and 8 deletions

View File

@ -6,7 +6,7 @@ toc2:
- page: Advanced Install
url: install
- page: Host Configuration
url: host-config
url: host-configuration
subsubfolderitems:
- page: Setting the Server Time
url: setting-the-server-time

View File

@ -43,19 +43,14 @@
{% for item in site.data.nav2.toc2 %}
<h3>{{ item.title }}</h3>
{% if item.subfolderitems[0] %}
<ul>
{% for entry in item.subfolderitems %}
<li><a href="{{ entry.url }}">{{ entry.page }}</a>
<br><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>
&nbsp; <a href="{{ subentry.url }}">{{ subentry.page }}</a>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
</div>