27
0
Fork 1
forked from mirror/Mainroad
This commit is contained in:
qnpati 2025-02-03 20:08:42 +01:00 committed by Xiretza
parent e1ff8c0f8c
commit d0894580e1

View file

@ -1,7 +1,9 @@
{{- if .Site.Menus.main }}
<nav class="menu">
<button class="menu__btn" aria-haspopup="true" aria-expanded="false" tabindex="0">
<span class="menu__btn-title" tabindex="-1">{{ T "menu_label" }}</span>
<span class="menu__btn-title" tabindex="-1">
{{ partial "widgets/nixie.html" (T "menu_label") }}
</span>
</button>
<ul class="menu__list">
{{- $currentNode := . }}
@ -18,6 +20,9 @@
</li>
{{- end }}
{{- end }}
<li class="menu-status">
{{ partial "widgets/nixie.html" }}
</li>
</ul>
</nav>
{{ else -}}