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

14 lines
536 B
HTML
Raw Normal View History

2021-09-09 09:56:22 +02:00
<header class="flex justify-between items-center sm:my-3">
<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-09 09:56:22 +02:00
<a class="ml-3" href="{{ .URL }}">{{ .Name }}</a>
2021-08-29 17:55:45 +02:00
{{ end }}
2021-07-18 10:34:01 +02:00
</nav>
</header>