aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..24d5b37
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,21 @@
+<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>