summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.toml4
-rw-r--r--layouts/index.html5
-rw-r--r--layouts/partials/head.html19
-rwxr-xr-xstatic/public_key.pub (renamed from static/public_key.gpg)0
4 files changed, 28 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index 65554d8..72c3b05 100644
--- a/config.toml
+++ b/config.toml
@@ -10,6 +10,10 @@ Description = "Developer, Emacser"
 themeColor = "theme-base-0b"
 layoutReverse = true
 
+[Params.GPG]
+fingerprint = "5FA7 7961 3E2A B0EE FC6D  D305 6A56 F2A3 14E2 3293"
+url = "/public_key.pub"
+
 [author]
     name = "Alan Pearce"
     image = "/img/me-thumb.jpg"
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>
diff --git a/static/public_key.gpg b/static/public_key.pub
index d85c911..d85c911 100755
--- a/static/public_key.gpg
+++ b/static/public_key.pub