forked from jakub/jakubb-hugo
commit
This commit is contained in:
parent
98bdeac3db
commit
6101ec652a
@ -22,12 +22,25 @@
|
|||||||
|
|
||||||
<li>
|
<li>
|
||||||
<ul class="menu-entries">
|
<ul class="menu-entries">
|
||||||
<li><a href="/" class="home-link" >Home</a> </li>
|
|
||||||
{{ range.Site.Menus.main }}
|
{{ range.Site.Menus.main }}
|
||||||
|
{{ if eq .Identifier "home" }}
|
||||||
|
<li><a class="home-link" href="{{ .URL }}">{{ .Name }}</a></li>
|
||||||
|
{{ else }}
|
||||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
<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}}
|
{{ end}}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user