site/layouts/partials/header.html

62 lines
2.3 KiB
HTML
Raw Normal View History

2017-11-30 15:12:29 +01:00
<!DOCTYPE HTML>
<!--
Spectral by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html lang="{{ .Site.Language.Lang | default "en-us" }}">
<head>
<title>{{ .Title }}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{{ with .Site.Params.description }}<meta name="description" content="{{ . | plainify }}">{{ end }}
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ if .RSSLink -}}<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}">{{- end }}
{{ .Hugo.Generator }}
{{ `<!--[if lte IE 8]><script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script><![endif]-->` | safeHTML }}
{{ partial "stylesheets.html" . }}
{{ range .Translations }}
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}">
{{ end }}
2018-05-04 20:35:00 +02:00
<!-- Matomo -->
2017-11-30 15:12:29 +01:00
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
2018-05-04 20:35:00 +02:00
var u="//matomo.sbruder.de/";
2017-11-30 15:12:29 +01:00
_paq.push(['setTrackerUrl', u+'piwik.php']);
2018-05-04 20:35:00 +02:00
_paq.push(['setSiteId', '3']);
2017-11-30 15:12:29 +01:00
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
2018-05-04 20:35:00 +02:00
<!-- End Matomo Code -->
2017-11-30 15:12:29 +01:00
</head>
<body class="landing">
<!-- Page Wrapper -->
<div id="page-wrapper">
<!-- Header -->
<header id="header" class="alt">
<h1><a href="index.html">{{ .Title }}</a></h1>
<nav id="nav">
<ul>
<li class="special">
<a href="#menu" class="menuToggle"><span>{{ i18n "menu" }}</span></a>
<div id="menu">
<ul>
{{ range .Site.Params.menu.main }}
<li><a href="{{ .url | relURL }}">{{ .title }}</a></li>
{{ end }}
</ul>
</div>
</li>
</ul>
</nav>
</header>