Merge pull request #111 from nekr0z/pgpkey

allow to use PGP key for IndieAuth
This commit is contained in:
Huy Tran 2020-11-03 11:25:37 +11:00 committed by GitHub
commit 303c3744e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

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

View file

@ -54,6 +54,8 @@
{{ 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>
{{ with .Site.Params.social.reddit }}
<a href="https://www.reddit.com/user/{{.}}" rel="me"><i class="fab fa-reddit-alien fa-lg" aria-hidden="true"></i></a>
{{ with .Site.Params.social.rss }}