github.io/layouts/partials/nav.html

23 lines
613 B
HTML
Raw Normal View History

<nav id='navbar'>
<ul class='top-nav'>
<li><a href='/{{ if ne .Language.Lang "en" }}{{ .Language.Lang }}{{ end }}'>{{ site.Title }}</a></li>
{{ if gt (len .AllTranslations) 1 }}
{{ partial "i18n/nav.html" . }}
{{ end }}
{{ $currentPage := . }}
{{ range .Site.Menus.left }}
{{ partial "menu" . }}
{{ end }}
2022-08-18 13:41:11 +00:00
<li id='right'>
<ul>
{{ range .Site.Menus.main }}
{{ partial "menu" . }}
{{ end }}
<!-- <li class='top-nav'><a href='#'>
<img class='icons' src='/search-icon.svg'>
</a>
</li> -->
2022-08-18 13:41:11 +00:00
</ul>
</li>
</ul>
</nav>