allow to use PGP key for IndieAuth

https://indieauth.com/pgp
This commit is contained in:
Evgeny Kuznetsov 2020-03-16 23:37:50 +03:00
parent b7e068d587
commit e703e0ecf8
No known key found for this signature in database
GPG key ID: 79B2B092A63F5E6F
2 changed files with 4 additions and 0 deletions

View file

@ -53,6 +53,7 @@ theme = "hyde-hyde"
telegram = "<username>"
email = "your-email@example.com"
# gravatar = "your-email@example.com"
# pgpkey = "<path-to-your-key-in-/static>"
## Main Menu
[[menu.main]]

View file

@ -45,4 +45,7 @@
{{ with .Site.Params.social.email }}
<a href="mailto:{{.}}" rel="me"><i class="fas fa-at fa-lg" aria-hidden="true"></i></a>
{{ end }}
{{ with .Site.Params.social.pgpkey }}
<a href="{{.}}" rel="pgpkey"><i class="fa fa-key fa-lg" aria-hidden="true"></i></a>
{{ end }}
</section>