Link to GPG key
2 files changed, 24 insertions(+), 0 deletions(-)
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>