www.federated.computer/themes/apsho/layouts/partials/head.html
2023-06-06 05:20:05 -06:00

31 lines
1.2 KiB
HTML

<head>
<meta charset="utf-8" />
<title>{{ .Title }}</title>
<!-- mobile responsive meta -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
{{ "<!-- Themify -->" | safeHTML }}
<link rel="stylesheet" href="{{ "themify/themify.css" | absURL }}">
{{ "<!-- Critical CSS -->" | safeHTML }}
{{ $stylex := resources.Get "scss/critical.scss" | resources.ToCSS | minify }}
<link href="{{ $stylex.Permalink }}" rel="stylesheet" />
{{ "<!--Favicon-->" | safeHTML }}
<link rel="shortcut icon" href="{{ "images/favicon.png" | absURL }}" type="image/x-icon" />
<link rel="icon" href="{{ "images/favicon.png" | absURL }}" type="image/x-icon" />
{{ with site.Params.googleAnalytics }}
{{ "<!-- Google Analytics -->" | safeHTML }}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ . }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ . }}');
</script>
{{ end }}
<script defer data-domain="federated.computer" src="https://plausible.io/js/script.js"></script>
</head>