<!DOCTYPE html>
<html class="no-js" lang="de">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="x-ua-compatible" content="ie=edge">
		<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
		{{ with .Params.description -}}
			<meta name="description" content="{{ . }}">
		{{- end }}
		<meta name="author" content="Stefan Mühlinghaus">
		<meta name="viewport" content="initial-scale=1, user-scalable=no">
		<link rel="icon" type="image/vnd.microsoft.icon" href="/img/favicon.ico">
		{{ block "htmlheadbefore" . }}{{ end }}
		<link rel="preload" href="/css/main.css" as="style">
		<link rel="stylesheet" href="/css/main.css">
		<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
		<script defer src="/js/menu.js"></script>
		{{ block "htmlheadafter" . }}{{ end }}
	</head>
	<body>
		<!--[if lt IE 8]><p class="browsehappy">Sie benutzen einen <strong>veralteten</strong> Browser. Bitte <a href="http://browsehappy.com/">aktualisieren Sie Ihren Browser</a> um Ihre Erfahrung auf alphabreed zu verbessern. <![endif]-->
		<header>
			<a href="/" title="alphabreed Startseite"> <img src="/img/alphabreed.png" alt="alphabreed"></a>
			<nav>
				<ul>
					{{- $page := . }}
					{{- range site.Menus.main }}
						{{- if $page.IsMenuCurrent .Menu . }}
							<li class="active"><a href="{{.URL}}">{{.Name}}</a></li>
						{{- else if $page.HasMenuCurrent .Menu . }}
							<li class="active"><a href="{{.URL}}">{{.Name}}</a></li>
						{{- else }}
							<li><a href="{{.URL}}">{{.Name}}</a></li>
						{{- end }}
					{{- end }}
				</ul>
			</nav>
		</header>
		<div id="main">
			{{ block "main" . }}{{ .Content }}{{ end }}
		</div>
	</body>
</html>