peruna/layouts/partials/header.html

20 lines
652 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">
{{ 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">