hugo-theme-even/layouts/partials/header.html

21 lines
509 B
HTML

<div class="logo-wrapper">
<a href="{{ "/" | relLangURL }}" class="logo">
{{- if .Site.Params.logoTitle -}}
{{ .Site.Params.logoTitle }}
{{- else -}}
{{ .Site.Title }}
{{- end -}}
</a>
</div>
{{ partial "header/language-selector.html" . }}
<nav class="site-navbar">
<ul id="menu" class="menu">
{{ range .Site.Menus.main -}}
<li class="menu-item">
<a class="menu-item-link" href="{{ .URL | safeURL }}">{{ .Name }}</a>
</li>
{{- end }}
</ul>
</nav>