congo/layouts/partials/header.html

15 lines
472 B
HTML
Raw Normal View History

2021-08-15 08:41:40 +00:00
<header class="flex justify-between py-6 font-semibold sm:py-10">
2021-08-11 05:28:33 +00:00
<div>
<a class="hover:underline" rel="me" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div>
<nav>
<ul class="flex flex-col list-none sm:flex-row">
2021-08-11 05:28:33 +00:00
{{ range .Site.Menus.main }}
<li class="text-right sm:mr-7 sm:last:mr-0">
2021-08-11 05:28:33 +00:00
<a class="hover:underline" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
</nav>
</header>