summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-07-17 09:14:24 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-07-17 09:14:24 +0100
commit9a14f9d41f57673684f87c98fbfa7c3c588f93cd (patch)
tree5e00c5738efc9e98b896155e56ea140ff945ab94 /layouts/partials/head.html
parentbd856b0c078d14beb2d92cd7ef13c1f131b1bebc (diff)
update for jul 22
Diffstat (limited to '')
-rw-r--r--layouts/partials/head.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..da8f4c4
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,17 @@
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ {{ with .Site.Params.description -}}
+ <meta name="description" content="{{ . }}">
+ {{ end }}
+ {{ printf `<link rel="shortcut icon" href="%s">` ("favicon.ico" | absURL) | safeHTML }}
+ {{ with .OutputFormats.Get "rss" -}}
+ {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+ {{ end -}}
+
+ {{ range .Site.Params.custom_css -}}
+ <link rel="stylesheet" href="{{ . | absURL }}" type="text/css" media="screen">
+ {{- end}}
+
+ <title>{{ .Title }}</title>
+</head>