forked from markus/AMPERION_Webpage
73 lines
No EOL
1.7 KiB
HTML
73 lines
No EOL
1.7 KiB
HTML
<!--
|
|
|
|
PROJECT: Startup Hugo
|
|
VERSION: 1.0.0
|
|
AUTHOR: Gethugothemes
|
|
AUTHOR WEBSITE: https://gethugothemes.com
|
|
|
|
-->
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="{{ site.LanguageCode | default `en-US` }}" itemscope itemtype="http://schema.org/WebPage">
|
|
|
|
<head>
|
|
{{ partial "head.html" . }}
|
|
|
|
<!-- cache partial only in production -->
|
|
{{ if hugo.IsProduction }}
|
|
{{ partialCached "style.html" . }}
|
|
{{ else }}
|
|
{{ partial "style.html" . }}
|
|
{{ end }}
|
|
|
|
<!-- Matomo -->
|
|
<script>
|
|
var _paq = window._paq = window._paq || [];
|
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function() {
|
|
var u="//matomo.amperion.at/";
|
|
_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 -->
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<!-- cache partial only in production -->
|
|
{{ partial "header.html" . }}
|
|
{{ if hugo.IsProduction }}
|
|
{{ partialCached "preloader.html" . }}
|
|
{{ else }}
|
|
{{ partial "preloader.html" . }}
|
|
{{ end }}
|
|
|
|
<!-- Google Tag Manager (noscript) -->
|
|
{{ with site.Params.google_tag_manager }}
|
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ . }}" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
{{ end }}
|
|
|
|
<main>
|
|
{{ block "main" . }}{{ end }}
|
|
</main>
|
|
|
|
<!-- cache partial only in production -->
|
|
{{ if hugo.IsProduction }}
|
|
{{ partialCached "footer.html" . }}
|
|
{{ partialCached "script.html" . }}
|
|
{{ else }}
|
|
{{ partial "footer.html" . }}
|
|
{{ partial "script.html" . }}
|
|
{{ end }}
|
|
</body>
|
|
|
|
</html> |