~exprez135/taliaferro

ref: 8b6e0f7c019f532841af40b950c4048422232234 taliaferro/layouts/partials/_shared/head.html -rw-r--r-- 2.2 KiB
8b6e0f7c — Nate rebuilding site Sun Feb 9 13:47:19 CST 2020: Fix navbar symbols showing up first. 1 year, 7 months 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
58
59
<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 }}
	{{- 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/bootstrap.min.css" | urlize | relURL }}" rel="stylesheet">
	<link href="{{ "/css/all.css" | urlize | relURL }}" rel="stylesheet">
	<link href="{{ "/css/additional.css" | urlize | relURL }}" rel="stylesheet">
	<link href="{{ "/css/medium.css" | urlize | relURL }}" rel="stylesheet">

	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
	-->
	<link href="{{ "/css/bootstrap.min.css" | urlize | relURL }}" rel="stylesheet">
	
	<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 }}


</head>