peruna/layouts/partials/header.html

21 lines
684 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-04-03 09:51:11 +00:00
{{ if .IsPage }}
<p class="c-title p-title"><a href="{{ .Site.BaseURL }}" class="p-title__link">{{ .Site.Title }}</a></p>
{{ 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>
<main id="main" class="l-main">