2019-07-15 13:32:00 +00:00
|
|
|
<aside class="main-sidebar sidebar-dark-primary elevation-4">
|
2019-10-06 07:57:16 +00:00
|
|
|
<a href="{{'index.html' | absolute_url}}" class="brand-link logo-switch">
|
|
|
|
<img src="{{'assets/img/logo-xs.png' | absolute_url}}" alt="AdminLTE Docs Logo Small" class="brand-image-xl logo-xs">
|
|
|
|
<img src="{{'assets/img/logo-xl.png' | absolute_url}}" alt="AdminLTE Docs Logo Large" class="brand-image-xs logo-xl" style="left: 12px">
|
2019-07-15 13:32:00 +00:00
|
|
|
</a>
|
|
|
|
<div class="sidebar">
|
|
|
|
<nav class="mt-2">
|
2019-07-29 13:40:18 +00:00
|
|
|
<ul class="nav nav-pills nav-sidebar nav-child-indent flex-column" data-widget="treeview" role="menu">
|
2019-07-15 13:32:00 +00:00
|
|
|
{% for item in site.navigation %}
|
|
|
|
{% assign subitem_active = 'false' %}
|
|
|
|
{% for subitem in item.subitems %}
|
|
|
|
{% assign subitem_url = '/' | append: subitem.url %}
|
|
|
|
{% if subitem_url == page.url %}
|
|
|
|
{% assign subitem_active = 'true' %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<li class="nav-item {% if item.subitems %}has-treeview{% endif %} {% if subitem_active == 'true' %}menu-open{% endif %}">
|
|
|
|
{% if item.url == 'index.html' %}
|
|
|
|
{% assign item_url = '/' %}
|
|
|
|
{% else %}
|
|
|
|
{% assign item_url = '/' | append: item.url %}
|
|
|
|
{% endif %}
|
|
|
|
|
2019-10-06 07:57:16 +00:00
|
|
|
<a href="{% if item.url %}{{item.url | absolute_url}}{% else %}#{% endif %}" class="nav-link {% if item_url == page.url %}active{% endif %}{% if subitem_active == 'true'%}active{% endif %}">
|
2019-07-15 13:32:00 +00:00
|
|
|
<i class="nav-icon {{item.icon}}"></i>
|
|
|
|
<p>
|
|
|
|
{{item.title}}
|
|
|
|
{% if item.subitems %}<i class="right fas fa-angle-left"></i>{% endif %}
|
|
|
|
</p>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
{% if item.subitems %}
|
|
|
|
<ul class="nav nav-treeview">
|
|
|
|
{% for subitem in item.subitems %}
|
|
|
|
{% assign subitem_url = '/' | append: subitem.url %}
|
|
|
|
<li class="nav-item">
|
2019-10-06 07:57:16 +00:00
|
|
|
<a href="{{subitem.url | absolute_url}}" class="nav-link {% if subitem_url == page.url %}active{% endif %}">
|
2019-07-15 13:32:00 +00:00
|
|
|
<i class="far fa-circle nav-icon"></i>
|
|
|
|
<p>{{subitem.title}}</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</aside>
|