Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/htr3n/hyde-hyde.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Kuznetsov <evgeny@kuznetsov.md>2020-03-16 23:37:50 +0300
committerEvgeny Kuznetsov <evgeny@kuznetsov.md>2020-03-16 23:37:50 +0300
commite703e0ecf87644513236a3cc54f40b7e9262e9eb (patch)
treefb3994e9abc7fc9ceacc013453abcbc662fc82a8
parentb7e068d587da374239a53d8fbb7df7990b1376db (diff)
allow to use PGP key for IndieAuth
https://indieauth.com/pgp
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/sidebar/social.html3
2 files changed, 4 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 05db08a..4661ff8 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -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]]
diff --git a/layouts/partials/sidebar/social.html b/layouts/partials/sidebar/social.html
index ba6567c..d7a64e9 100644
--- a/layouts/partials/sidebar/social.html
+++ b/layouts/partials/sidebar/social.html
@@ -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>