about summary refs log tree commit diff stats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorAlan Pearce2017-08-29 22:21:01 +0200
committerAlan Pearce2017-08-29 22:21:01 +0200
commit20b1c4635bc8e1d1692c7884cf76556d37102e9a (patch)
tree64cc2823ea7ab13a0f78af1a13ff1e54a9d2cdd2 /layouts/partials/head.html
parentf2daaeb2fd0114831c995fd2b48baf201364dc92 (diff)
downloadwebsite-20b1c4635bc8e1d1692c7884cf76556d37102e9a.tar.lz
website-20b1c4635bc8e1d1692c7884cf76556d37102e9a.tar.zst
website-20b1c4635bc8e1d1692c7884cf76556d37102e9a.zip
Link to GPG key
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..2cf88f5
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="en-GB">
+	<head>
+		<meta charset="UTF-8">
+		<meta name="viewport" content="width=device-width,initial-scale=1">
+
+		{{ if .IsHome }}
+		<title>{{ .Site.Title }}</title>
+		{{ else }}
+		<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
+		{{ end }}
+
+		<link rel="stylesheet" href="/css/poole.css">
+		<link rel="stylesheet" href="/css/syntax.css">
+		<link rel="stylesheet" href="/css/hyde.css">
+		<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
+		<link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical">
+    <link href="{{ .Site.Params.GPG.url | absURL }}" rel="pgpkey">
+	</head>