80 lines
2.7 KiB
HTML
Raw Normal View History

2022-03-18 13:35:57 +01:00
<head>
<meta charset="utf-8">
<title>{{ .Title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="{{ with .Params.Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ hugo.Generator }}
{{ range .Site.Params.plugins.css }}
2023-01-14 17:31:54 +01:00
<link rel="stylesheet" href="{{ . | absURL }}">
2022-03-18 13:35:57 +01:00
{{ end }}
{{ $styles := resources.Get "scss/style.scss" | toCSS }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
<link rel="shortcut icon" href="{{ `media/favicon.png` | absURL }}" type="image/x-icon">
<link rel="icon" href="{{ `media/favicon.png` | absURL }}" type="image/x-icon">
2023-02-28 08:37:51 +01:00
2023-03-05 21:33:21 +01:00
<link href="/_pagefind/pagefind-ui.css" rel="stylesheet">
<script src="/_pagefind/pagefind-ui.js" type="text/javascript"></script>
<script>
window.addEventListener('DOMContentLoaded', (event) => {
new PagefindUI({ element: "#search",
translations: {
placeholder: "Suchen...",
zero_results: "Leider konnten keine Ergebnisse zu [SEARCH_TERM] gefunden werden",
clear_search: "Löschen"
}
});
});
</script>
2023-01-03 11:55:46 +00:00
2023-02-28 19:56:02 +01:00
{{ range .Site.Params.plugins.head_js }}
<script src="{{ . | absURL }}"></script>
{{ end }}
2023-01-03 11:55:46 +00:00
2022-03-18 13:35:57 +01:00
2022-07-03 09:55:33 +00:00
<!-- Matomo -->
2023-01-03 11:55:46 +00:00
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDoNotTrack", true]);
_paq.push(["disableCookies"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.cantorgymnasium.de/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
{{ partial "opengraph" . }}
{{ partial "twitter" . }}
2022-07-03 09:22:28 +00:00
2022-03-18 13:35:57 +01:00
</head>
2023-03-05 21:33:21 +01:00
<div id="pagefind-search" class="modal" data-pagefind-ignore>
<div class="modal-dialog modal-xl modal-dialog-scrollable modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title">Suche</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="content">
<div id="search"></div>
</div>
</div>
</div>
</div>
</div>