Link to GPG key
Alan Pearce alan@alanpearce.eu
Tue, 29 Aug 2017 22:21:01 +0200
4 files changed, 28 insertions(+), 0 deletions(-)
M config.toml → 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"
M layouts/index.html → layouts/index.html
@@ -29,6 +29,11 @@ </li> {{ end }} </ul> </section> + <footer> + {{ with .Site.Params.GPG }} + GPG Key: <a href="{{ .url }}" rel="pgpkey">{{ .fingerprint }}</a> + {{ end }} + </footer> </main> {{ partial "sidebar.html" . }} </body>
A 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 }} · {{ .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>