diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 5 | ||||
-rw-r--r-- | layouts/partials/head.html | 19 |
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 }} · {{ .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> |