summary refs log tree commit diff stats
path: root/layouts
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
parentf2daaeb2fd0114831c995fd2b48baf201364dc92 (diff)
downloadwebsite-20b1c4635bc8e1d1692c7884cf76556d37102e9a.tar.lz
website-20b1c4635bc8e1d1692c7884cf76556d37102e9a.tar.zst
website-20b1c4635bc8e1d1692c7884cf76556d37102e9a.zip
Link to GPG key
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html5
-rw-r--r--layouts/partials/head.html19
2 files changed, 24 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index cbaf82b..1d1c3e8 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -29,6 +29,11 @@
 				{{ end }}
 			</ul>
 		</section>
+    <footer>
+      {{ with .Site.Params.GPG }}
+      GPG Key: <a href="{{ .url }}" rel="pgpkey">{{ .fingerprint }}</a>
+      {{ end }}
+    </footer>
 	</main>
   {{ partial "sidebar.html" . }}
 </body>
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>