blog/layouts/partials/header.html

22 lines
509 B
HTML
Raw Normal View History

2022-03-11 05:02:10 +00:00
<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>