mirror of
https://github.com/torproject/lego.git
synced 2024-11-23 17:49:41 +00:00
20 lines
818 B
HTML
20 lines
818 B
HTML
<div class="container-fluid border-bottom border-light sticky-top bg-white">
|
|
<div class="row flex-xl-nowrap {{ bag('alternatives', this.alt, 'order') }}">
|
|
<div class="row col-12 justify-content-center">
|
|
<ul class="nav">
|
|
{% set menubag = this.section_id %}
|
|
{% for id, item in bag(menubag).items() %}
|
|
<li{% if this.path == '/' + item.path %} class="nav-item active border-active" {% else %} class="nav-item" {% endif %}>
|
|
{% set item_path = site.get(item.path) %}
|
|
<a class="nav-link" href="{{ this.url_to(item_path, alt=this.alt) }}">{{ _(item.label) }}
|
|
{% if this.path == '/' + item.path %}
|
|
<span class="sr-only">(current)</span>
|
|
{% endif %}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|