Verwijderen van ongebruikte code tbv Google Analytics

This commit is contained in:
Michael Boelen 2023-05-06 00:32:44 +02:00
parent 41e597c8ce
commit e96bcba689

View file

@ -7,18 +7,15 @@
<meta name="description" content="{{ if ne .Description "" }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/schema.html" . }}
{{ template "_internal/google_analytics.html" . }}
<link rel="canonical" href="{{ .Permalink }}">
<link rel="icon" href="{{ .Site.BaseURL }}/assets/favicon.ico">
<link rel="dns-prefetch" href="https://www.google-analytics.com">
<link href="https://www.google-analytics.com" rel="preconnect" crossorigin>
<link rel="alternate" type="application/atom+xml" title="{{ .Site.Title }}" href="{{ .Site.BaseURL }}/atom.xml" />
<link rel="alternate" type="application/json" title="{{ .Site.Title }}" href="{{ .Site.BaseURL }}/feed.json" />
<link rel="shortcut icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=">
{{ $styles := resources.Get "scss/styles.scss" | toCSS (dict "outputStyle" "compressed") | minify }}
{{ $styles_extra := resources.Get "scss/_extra.scss" | toCSS (dict "outputStyle" "compressed") | minify }}
<style>{{ $styles.Content | safeCSS }} {{ $styles_extra.Content | safeCSS }}</style>
{{ if .IsHome -}}
<script type="application/ld+json">
{
@ -85,5 +82,5 @@
}
</script>
{{ end }}
</head>