diff options
author | Huy Tran <hoang.huy.tran@gmail.com> | 2020-11-03 03:25:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 03:25:37 +0300 |
commit | 303c3744e579d08b18749873c1084453a20a5260 (patch) | |
tree | 8b6be04c7700b81c5ad22d002b8463bac55f708b | |
parent | a4ecbb1e8f8a9b1162565a1f5cc2f255a4cd26a2 (diff) | |
parent | e74a3fc003ae5fd9438579af98ef90033c96267d (diff) |
Merge pull request #111 from nekr0z/pgpkey
allow to use PGP key for IndieAuth
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | layouts/partials/sidebar/social.html | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 6d83d22..7e3baed 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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]] diff --git a/layouts/partials/sidebar/social.html b/layouts/partials/sidebar/social.html index 13880bc..8fe3872 100644 --- a/layouts/partials/sidebar/social.html +++ b/layouts/partials/sidebar/social.html @@ -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 }} |