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

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Sauer <jsauer65@gmail.com>2018-10-17 22:15:16 +0300
committerJens Sauer <jsauer65@gmail.com>2018-10-17 22:55:52 +0300
commite7c8221ef2d9436d1ee99688f06e2af1efc953db (patch)
treee48a07815e07056f27c4917901d06ee9c83f5c4f /layouts
parent48c744a3cbf9ad49eca6bf51dcd4005656b1e927 (diff)
partials/social: Add reddit social button
A social button for Reddit.com is missing in this theme. This adds a optional reddit social button.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/social.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 2f10661..161af1b 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -55,5 +55,12 @@
<a class="glyph" alt="Twitter profile" href="https://twitter.com/{{ . }}"><img src="/icons/twitter.svg" height="24px" width="24px"></a>
</div>
{{ end }}
+ {{ if isset .Site.Params "reddituser" }}
+ <div class="icon-24x24">
+ <a class="glyph" alt="Reddit profile" href="https://www.reddit.com/user/{{ .Site.Params.RedditUser }}">
+ <img src="{{ .Site.BaseURL }}icons/reddit-alien.svg" height="24px" width="24px" />
+ </a>
+ </div>
+ {{ end }}
</div>
</aside>