~exprez135/mediumish-taliaferro

ref: c93ebe4709f2d841ee8c1a8731ce882a075d3c2d mediumish-taliaferro/layouts/partials/_shared/head.html -rw-r--r-- 2.1 KiB
c93ebe47Nate Ijams Update email. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<head profile="http://www.w3.org/2005/10/profile">

	<link rel="icon" type="image/ico" href="https://thetaliaferrotimes.org/favicon.ico">
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	{{ .Hugo.Generator -}}
	{{ with .Site.Params.logo }}
		<link rel="icon" href="{{ . | urlize | relURL }}">
	{{ end }}
	{{ printf "<!-- See our COPYING notice at https://git.sr.ht/~exprez135/taliaferro/-/raw/master/COPYING -->" | safeHTML }}
	{{- if .IsHome -}}
		<title>{{ .Site.Title }}</title>
	{{- else -}}
		<title>{{ .Page.Title }}
			|
			{{ .Site.Title }}</title>
	{{- end -}}
	{{- with .Site.Params.meta.description -}}
		<meta name="description" content="{{ . }}">{{- end -}}
	{{- with .Site.Params.meta.keywords -}}
		<meta name="keywords" content="{{ . }}">{{- end -}}

	{{ printf "<!-- Begin Initial CSS Section. -->" | safeHTML }}
	<link href="{{ " /css/everything.css" | urlize | relURL }}" rel="stylesheet">
	{{ printf "<!-- End Initial CSS Section. -->" | safeHTML }}

	{{ printf "<!-- Begin Initial JS Section. -->" | safeHTML }}
	<!--
	{{ printf "<!-- These initial scripts implement fast darkmode to ensure a set setting is used. -->" | safeHTML }}

	<script src="{{" /js/darkreader.js" | urlize | relURL }}"></script>

	{{ printf "<!-- In-line script for checking dark mode settings. -->" | safeHTML }}

	<script>
		function darkmode_starting_up() {
			var savedTheme = localStorage.getItem("dark-mode-storage") || "dark";
			if (savedTheme === "dark") {
				DarkReader.enable();
			}
			if (savedTheme === "light") {
				DarkReader.disable();
			}
		}
	</script>

	<script async="async" type="text/javascript">
		darkmode_starting_up();
	</script>
	-->
	{{ printf "<!-- End Initial JS Section -->"| safeHTML }}

	{{ printf "<!-- This starts a preconnection to our analytics site so that it loads faster later :) -->" | safeHTML }}
	<link rel="preload" href="https://gc.zgo.at/count.js">
	<link rel="dns-fetch" href="https://thetaliaferrotimes.goatcounter.com">
	<!--<link href="{{ " /css/fonts.css" | urlize | relURL }}" rel="preload">-->
</head>