Update default.html
This commit is contained in:
parent
7318c8efb0
commit
502d050cd2
1 changed files with 9 additions and 7 deletions
|
@ -38,13 +38,15 @@
|
|||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% for item in site.data.samplelist.toc %}
|
||||
<h3>{{ item.title }}</h3>
|
||||
<ul>
|
||||
{% for entry in item.subfolderitems %}
|
||||
<li><a href="{{ entry.url }}">{{ entry.page }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% for link in site.navigation %}
|
||||
{% assign current = nil %}
|
||||
{% if page.url == link.url %}
|
||||
{% assign current = 'current' %}
|
||||
{% endif %}
|
||||
|
||||
<li class="nav-list-item{% if forloop.first %}first{% endif %} {{ current }} {% if forloop.last %}nav-list-item-last{% endif %}">
|
||||
<a class="{{ current }}" href="{{ link.url }}">{{ link.text }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue