Sync
This commit is contained in:
33
layouts/partials/header.html
Normal file
33
layouts/partials/header.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<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>
|
||||
{{ else }}
|
||||
<img
|
||||
src="{{ "images/logo.svg" | relURL }}"
|
||||
alt="{{ .Site.Params.logoAlt | default "Logo" }}"
|
||||
>
|
||||
{{ end }}
|
||||
</a>
|
||||
|
||||
<!--
|
||||
<p class="library-desc">
|
||||
{{ with .Site.Params.description }} {{ . | markdownify }} {{ end }}
|
||||
</p>
|
||||
-->
|
||||
|
||||
<h3> {{ with .Site.Params.description }} {{ . }} {{ end}} </h3>
|
||||
|
||||
</div>
|
||||
{{ partial "nav.html" . }}
|
||||
{{ if eq .Site.Params.moveFooterToHeader true }}
|
||||
{{ partial "footer.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</header>
|
||||
Reference in New Issue
Block a user