infidel-cupper-theme/layouts/partials/header.html

34 lines
837 B
HTML
Raw Permalink Normal View History

2022-04-10 04:20:41 -04:00
<header class="intro-and-nav" role="banner">
<div>
<div class="intro">
<a
class="logo"
href="{{ .Site.BaseURL }}"
aria-label="{{ .Site.Title }} home page"
>
{{ with .Site.Params.navTitleText }}
<h2>{{ . }}</h2>
2022-04-10 04:20:41 -04:00
{{ else }}
<img
src="{{ "images/logo.svg" | relURL }}"
alt="{{ .Site.Params.logoAlt | default "Logo" }}"
>
{{ end }}
</a>
2022-04-10 06:40:42 -04:00
<!--
2022-04-10 04:20:41 -04:00
<p class="library-desc">
{{ with .Site.Params.description }} {{ . | markdownify }} {{ end }}
</p>
2022-04-10 06:40:42 -04:00
-->
<h3> {{ with .Site.Params.description }} {{ . }} {{ end}} </h3>
2022-04-10 06:40:42 -04:00
2022-04-10 04:20:41 -04:00
</div>
{{ partial "nav.html" . }}
{{ if eq .Site.Params.moveFooterToHeader true }}
{{ partial "footer.html" . }}
{{ end }}
</div>
</header>