forked from jakub/jakubb-hugo
commit
This commit is contained in:
parent
98bdeac3db
commit
6101ec652a
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user