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:
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/sidebar/social.html2
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 }}