peruna/layouts/partials/header.html

20 lines
713 B
HTML
Raw Normal View History

2018-04-03 09:51:11 +00:00
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
{{ partial "head.html" . }}
<body>
<a href="#main" class="skip-link p-screen-reader-text">Skip to content</a>
{{ partial "svgpack-sprite.html" . }}
<header class="l-header">
2018-04-03 14:58:27 +00:00
{{ partial "menu.html" . }}
2018-09-03 14:52:31 +00:00
{{ if .Site.Params.headerlogo }}
<a href="{{ .Site.BaseURL }}" class="p-title__link"><img class="p-logo" src="{{ .Site.Params.headerlogo }}"></img></a>
2018-04-03 09:51:11 +00:00
{{ else }}
<h1 class="c-title p-title"><a href="{{ .Site.BaseURL }}" class="p-title__link">{{ .Site.Title }}</a></h1>
{{ end }}
{{ with .Site.Params.subtitle }}
<p class="p-subtitle">
{{ . }}
</p>
{{ end }}
</header>
2018-09-03 14:52:31 +00:00
<main id="main" class="l-main">