Merge dev into main branch #2

Merged
vrifox merged 11 commits from dev into main 2023-01-06 22:53:36 +01:00
Showing only changes of commit fd4693050a - Show all commits

View file

@ -12,9 +12,9 @@
<ul> <ul>
{{- range .Site.Menus.main }} {{- range .Site.Menus.main }}
{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} {{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}
<li class="active"><a href="{{ .URL }}">{{ .Name }}</a></li> <li class="active"><a href="{{ .URL }}">{{ i18n .Identifier | default .Name }}</a></li>
{{ else }} {{ else }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li> <li><a href="{{ .URL }}">{{ i18n .Identifier | default .Name }}</a></li>
{{ end }} {{ end }}
{{- end }} {{- end }}
</ul> </ul>