forked from drowl87/hextra_mirror
11 lines
457 B
HTML
11 lines
457 B
HTML
{{- range site.Menus.sidebar -}}
|
|
{{- $name := or (T .Identifier) .Name -}}
|
|
{{ if eq .Params.type "separator" }}
|
|
<li class="[word-break:break-word] mt-5 mb-2 px-2 py-1.5 text-sm font-semibold text-gray-900 first:mt-0 dark:text-gray-100">
|
|
<span class="cursor-default">{{ $name }}</span>
|
|
</li>
|
|
{{ else }}
|
|
<li>{{ template "sidebar-item-link" (dict "active" false "title" $name "link" (.URL | relLangURL)) }}</li>
|
|
{{ end }}
|
|
{{- end -}}
|