about 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"
10themeColor = "theme-base-0b" 10themeColor = "theme-base-0b"
11layoutReverse = true 11layoutReverse = true
12 12
13[Params.GPG]
14fingerprint = "5FA7 7961 3E2A B0EE FC6D D305 6A56 F2A3 14E2 3293"
15url = "/public_key.pub"
16
13[author] 17[author]
14 name = "Alan Pearce" 18 name = "Alan Pearce"
15 image = "/img/me-thumb.jpg" 19 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 @@
29 {{ end }} 29 {{ end }}
30 </ul> 30 </ul>
31 </section> 31 </section>
32 <footer>
33 {{ with .Site.Params.GPG }}
34 GPG Key: <a href="{{ .url }}" rel="pgpkey">{{ .fingerprint }}</a>
35 {{ end }}
36 </footer>
32 </main> 37 </main>
33 {{ partial "sidebar.html" . }} 38 {{ partial "sidebar.html" . }}
34</body> 39</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 @@
1<!DOCTYPE html>
2<html lang="en-GB">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width,initial-scale=1">
6
7 {{ if .IsHome }}
8 <title>{{ .Site.Title }}</title>
9 {{ else }}
10 <title>{{ .Title }} &middot; {{ .Site.Title }}</title>
11 {{ end }}
12
13 <link rel="stylesheet" href="/css/poole.css">
14 <link rel="stylesheet" href="/css/syntax.css">
15 <link rel="stylesheet" href="/css/hyde.css">
16 <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
17 <link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical">
18 <link href="{{ .Site.Params.GPG.url | absURL }}" rel="pgpkey">
19 </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