Use u-pgp and absolute URL for PGP link

master
Kevin C. Coram 2019-12-21 22:42:59 -05:00
parent 8ad03ea6e2
commit a8f4ecfdda
Signed by: kevin
GPG Key ID: 0342351B3D61AD35
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
{{ if .email }} {{ if .email }}
<a class="glyph u-email" href="mailto:{{ .email }}" rel="me"><i class="{{ .icon }}"></i></a> <a class="glyph u-email" href="mailto:{{ .email }}" rel="me"><i class="{{ .icon }}"></i></a>
{{ else if .publicKey }} {{ else if .publicKey }}
<a class="glyph p-pgp" href="{{ .publicKey }}" rel="pgpkey" title="{{ .fingerprint }}"><i class="{{ .icon }}"></i></a> <a class="glyph u-pgp" href="{{ .publicKey | absURL }}" rel="pgpkey" title="{{ .fingerprint }}"><i class="{{ .icon }}"></i></a>
{{ else }} {{ else }}
<a class="glyph" href="{{ .profile }}" rel="me"><i class="{{ .icon }}"></i></a> <a class="glyph" href="{{ .profile }}" rel="me"><i class="{{ .icon }}"></i></a>
{{ end }} {{ end }}