veilid-dot-com/themes/veilid/layouts/partials/subsectionnav.html.twig

21 lines
465 B
Twig
Raw Normal View History

2023-08-15 15:25:21 -04:00
{# ========== begin subsection nav ========== #}
<ul class="subsectionnav nav-underline">
{% for p in site.pages|sort_by_weight %}
{% if page.section in p.path %}
<li class="nav-item">
<a class="nav-link{% if p.path == page.path %} active{% else %}" href="{{ url(p.path) }}{% endif %}">
{{ p.title }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
{# ========== end subsection nav ========== #}