84 lines
2.4 KiB
HTML
84 lines
2.4 KiB
HTML
---
|
|
---
|
|
<!DOCTYPE HTML>
|
|
<!--
|
|
Publikatorized by Sakrecoer
|
|
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
|
-->
|
|
<html lang="{{ site.lang }}">
|
|
<head>
|
|
{% include seo.html %}
|
|
{% include relBase.html %}
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
|
|
<link rel="stylesheet" href="{{ relBase }}/assets/css/all.min.css" />
|
|
<link rel="stylesheet" href="{{ relBase }}/assets/css/main-20200805-rv2.css" />
|
|
<link rel="apple-touch-icon" href="{{ site.url }}/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" href="{{ site.url }}/touch-icon.png" sizes="192x192">
|
|
<link rel="shortcut icon" href="{{ site.url }}{{ site.icon }}" type="image/png" />
|
|
<noscript><link rel="stylesheet" href="{{ relBase }}/assets/css/noscripts-20200805.css" /></noscript>
|
|
<link rel="manifest" href="manifest.json" />
|
|
<meta name="theme-color" content="{{ site.bg }}"/>
|
|
<script type="text/javascript">
|
|
// Registration of service worker
|
|
if ('serviceWorker' in navigator) {
|
|
window.addEventListener('load', function() {
|
|
navigator.serviceWorker.register("/service-worker.js").then(function(registration) {
|
|
// Registration was successful
|
|
console.log('ServiceWorker registration successful with scope: ', registration.scope);
|
|
}, function(err) {
|
|
// registration failed :(
|
|
console.log('ServiceWorker registration failed: ', err);
|
|
});
|
|
});
|
|
}
|
|
else{
|
|
console.log('Service Workers not supported');
|
|
}
|
|
|
|
// Installation of service worker
|
|
self.addEventListener('install', function(event) {
|
|
// Perform install steps
|
|
event.waitUntil(
|
|
caches.open(CACHE_NAME)
|
|
.then(function(cache) {
|
|
return cache.addAll(urlsToCache);
|
|
})
|
|
);
|
|
});
|
|
|
|
self.addEventListener('fetch', event => {
|
|
event.respondWith(
|
|
caches.match(event.request, {ignoreSearch:true}).then(response => {
|
|
return response || fetch(event.request);
|
|
})
|
|
);
|
|
});
|
|
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- Wrapper -->
|
|
<div id="main-wrapper">
|
|
|
|
{{ content }}
|
|
<!-- Footer -->
|
|
{% unless page.collection == 'tracks' %}
|
|
{% include footer.html %}
|
|
{% endunless %}
|
|
<!-- END Footer -->
|
|
|
|
|
|
</div>
|
|
<!-- END Wrapper -->
|
|
{% unless page.collection == 'traks' %}
|
|
{% include navigation.html %}
|
|
{% endunless %}
|
|
{% include cookie-consent.html %}
|
|
{% include scripts.html %}
|
|
|
|
</body>
|
|
</html>
|
|
|