This commit is contained in:
Jakub 2024-02-09 01:04:22 -05:00
parent 98bdeac3db
commit 6101ec652a

View File

@ -22,10 +22,23 @@
<li>
<ul class="menu-entries">
<li><a href="/" class="home-link" >Home</a> </li>
{{ range.Site.Menus.main }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }}
{{ if eq .Identifier "home" }}
<li><a class="home-link" href="{{ .URL }}">{{ .Name }}</a></li>
{{ else }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }}
{{end}}
<li class="lang-switcher">
<a href="">{{ }}
<ul >
{{ range .Translations }}
<li> <a href="{{ .Permalink }}">{{ .Lang }}: {{ .Title }}{{ if .IsPage }} ({{ i18n "wordCount" . }}){{ end }}</a> </li>
{{ end}}
</ul>
</li>
</ul>
</li>