mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2024-11-25 19:15:33 +03:00
20 lines
589 B
HTML
20 lines
589 B
HTML
<ul class="menu menu--mobile">
|
|
<li class="menu__trigger">Menu ▾</li>
|
|
<li>
|
|
<ul class="menu__dropdown">
|
|
{{ range $.Site.Menus.main }}
|
|
{{ if not .HasChildren }}
|
|
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ if and $.Site.Params.showLanguageSelector (len $.Site.Home.AllTranslations) }}
|
|
<hr />
|
|
{{ range $.Site.Home.AllTranslations }}
|
|
<li>
|
|
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</li>
|
|
</ul>
|