Use u-pgp and absolute URL for PGP link
parent
8ad03ea6e2
commit
a8f4ecfdda
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue