2019-02-13 06:11:59 +01:00
|
|
|
<header class="intro-and-nav" role="banner">
|
|
|
|
<div>
|
|
|
|
<div class="intro">
|
2020-06-14 21:05:19 +02:00
|
|
|
<a
|
|
|
|
class="logo"
|
|
|
|
href="{{ .Site.BaseURL }}"
|
|
|
|
aria-label="{{ .Site.Title }} home page"
|
|
|
|
>
|
2021-10-18 04:54:41 +02:00
|
|
|
{{ with .Site.Params.navTitleText }}
|
|
|
|
<h1>{{ . }}</h1>
|
|
|
|
{{ else }}
|
|
|
|
<img
|
|
|
|
src="{{ "images/logo.svg" | relURL }}"
|
|
|
|
alt="{{ .Site.Params.logoAlt | default "Logo" }}"
|
|
|
|
>
|
|
|
|
{{ end }}
|
2019-02-13 06:11:59 +01:00
|
|
|
</a>
|
|
|
|
<p class="library-desc">
|
2020-06-14 21:05:19 +02:00
|
|
|
{{ with .Site.Params.description }} {{ . | markdownify }} {{ end }}
|
2019-02-13 06:11:59 +01:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{{ partial "nav.html" . }}
|
2021-01-13 22:08:57 +01:00
|
|
|
{{ if eq .Site.Params.moveFooterToHeader true }}
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
{{ end }}
|
2019-02-13 06:11:59 +01:00
|
|
|
</div>
|
2020-06-14 21:05:19 +02:00
|
|
|
</header>
|