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

14 lines
541 B
HTML
Raw Normal View History

<header class="flex justify-between items-center mb-6 sm:my-3">
2021-09-09 09:56:22 +02:00
<div class="flex items-center">
{{ if .Site.Params.brand }}
<div class="mr-3 text-3xl"><a href="/">{{ .Site.Params.brand }}</a></div>
{{ end }}
<div id="theme-switcher" class="text-4xl cursor-pointer">{{ index .Site.Params.switch 1 }}</div>
2021-08-29 17:55:45 +02:00
</div>
2021-09-09 09:56:22 +02:00
<nav class="flex items-center
2021-08-29 17:55:45 +02:00
whitespace-nowrap overflow-x-auto overflow-y-hidden">
{{ range .Site.Menus.main }}
2021-09-11 06:07:03 +02:00
<a class="ml-5" href="{{ .URL }}">{{ .Name }}</a>
2021-08-29 17:55:45 +02:00
{{ end }}
2021-07-18 10:34:01 +02:00
</nav>
</header>