congo/layouts/partials/header.html

25 lines
711 B
HTML
Raw Permalink 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 underline-primary-500 underline-thickness-bold underline-offset-small"
rel="me"
href="{{ .Site.BaseURL }}"
>{{ .Site.Title }}</a
>
2021-08-11 05:28:33 +00:00
</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">
<a
class="hover:underline underline-primary-500 underline-thickness-bold underline-offset-small"
href="{{ .URL | absURL }}"
title="{{ .Title }}"
>{{ .Name }}</a
>
2021-08-11 05:28:33 +00:00
</li>
{{ end }}
</ul>
</nav>
</header>