cupper-hugo-theme/layouts/partials/header.html
2021-05-16 01:44:41 -05:00

23 lines
617 B
HTML

<header class="intro-and-nav" role="banner">
<div>
<div class="intro">
<a
class="logo"
href="{{ .Site.BaseURL }}"
aria-label="{{ .Site.Title }} home page"
>
<img
src="{{ "images/logo.svg" | relURL }}"
alt="{{ .Site.Params.logoAlt | default "Logo" }}">
</a>
<p class="library-desc">
{{ with .Site.Params.description }} {{ . | markdownify }} {{ end }}
</p>
</div>
{{ partial "nav.html" . }}
{{ if eq .Site.Params.moveFooterToHeader true }}
{{ partial "footer.html" . }}
{{ end }}
</div>
</header>