12 lines
390 B
HTML
12 lines
390 B
HTML
<div class="sidebar-exists"></div>
|
|
{% if children -%}
|
|
<div class="sidebar-items">
|
|
{%- for child in children -%}
|
|
<div class="sidebar-item">
|
|
<a href="{{ child.name }}" class="no-decoration {% if (pathname or "")==(child.name or "") %}active{% endif %}">
|
|
{{ child.title or child.page_title or (child.name or "").replace("_", " ").title() }}
|
|
</a>
|
|
</div>
|
|
{%- endfor -%}
|
|
</div>
|
|
{%- endif %}
|