Add references to my GPG key

This commit is contained in:
Gabriel Arazas 2021-02-03 01:33:36 +08:00
parent 01b112c76f
commit 0ea278a52d
3 changed files with 15 additions and 1 deletions

View File

@ -26,6 +26,9 @@ You can also find me on a bunch of platforms where I may be inactive for some ti
If you want the old way on getting contact with me, you can shoot an email at `foo.dogsquared{at}gmail{dot}com`.
Want a way to verify me and my stuff? I have a link:https://gnupg.org/[GnuPG] public key for your privacy-oriented and paranoia-filled pleasure.
It is currently stored at link:https://keys.openpgp.org/vks/v1/by-fingerprint/1D5A862828FFC47537F9628F73F89FF87C72E7D3[the OpenPGP keyserver] which you can search with my email address.
TIP: This site also have web feeds available in multiple formats such as in link:index.rss[RSS], link:index.atom[Atom], and link:index.json[JSON].
It's also available in individual sections (such as link:posts/[my writings] — i.e., `posts/index.{rss,atom,json}`).

View File

@ -30,3 +30,12 @@ id = "rss"
url = "index.atom"
name = "Atom feed"
weight = -1
excludeInMenu = true
[[links]]
id = "gnuprivacyguard"
url = "https://keys.openpgp.org/vks/v1/by-fingerprint/1D5A862828FFC47537F9628F73F89FF87C72E7D3"
name = "GnuPG public key"
weight = -1
excludeInMenu = true

View File

@ -5,7 +5,9 @@
{{ $links := sort .links "name" "asc" }}
{{- range $links -}}
{{ if ne .id "rss" }}
{{- /* Render the link only to externally linked pages/files and those with >=0 weight. */ -}}
{{ if (and (not .excludeInMenu) (eq (absLangURL .url) .url)) }}
<li>
<a {{ if $useImage }}class="site__social-icon"{{ end }} rel="me" href="{{ .url | absLangURL }}" aria-label="{{ with .name }}{{ . }}{{ else }}{{ .id }}{{ end }}">
{{- .name }}