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-18 18:10:32 +0300
committerJens Sauer <jsauer65@gmail.com>2018-10-18 18:10:32 +0300
commit33bf6a82d0a13578dca2a7fa298a5aad44caf790 (patch)
tree5cfa196c18afaadc84608ca5236fbbcb3e01fd17
parent092fc83aa724c16fb2934f1fbffd2da5ed5da297 (diff)
Reorder Reddit button to keep alphabetical order
Alphabetical order in the social buttons is essential. Reorder the Reddit.com social button.
-rw-r--r--config.toml.example2
-rw-r--r--layouts/partials/social.html14
2 files changed, 8 insertions, 8 deletions
diff --git a/config.toml.example b/config.toml.example
index 846d2d9..cc66b3b 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -22,10 +22,10 @@ theme = "indigo"
GlitchUser = "GlitchUserName"
KeybaseUser = "KeybaseUserName"
MicroBlogUser = "MicroBlogUserName"
+ RedditUser = "RedditUserName"
StackOverflowUser = "StackOverflowUserName"
TumblrUser = "TumblrUserName"
TwitterUser = "TwitterUserName"
- RedditUser = "RedditUserName"
# These are parameters used for indieweb identity. You should set these along
# with the above email/social network parameters.
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 70ee33b..42780a8 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -40,6 +40,13 @@
<a class="glyph" alt="Micro.Blog profile" href="https://micro.blog/{{ . }}"><img src="/icons/microblog.svg" height="24px" width="24px"></a>
</div>
{{ end }}
+ {{ with .Site.Params.RedditUser }}
+ <div class="icon-24x24">
+ <a class="glyph" alt="Reddit profile" href="https://www.reddit.com/user/{{ . }}">
+ <img src="/icons/reddit-alien.svg" height="24px" width="24px" />
+ </a>
+ </div>
+ {{ end }}
{{ with .Site.Params.StackOverflowUser }}
<div class="icon-24x24">
<a class="glyph" alt="Stack Overflow profile" href="https://stackoverflow.com/users/{{ . }}"><img src="/icons/stack-overflow.svg" height="24px" width="24px"></a>
@@ -55,12 +62,5 @@
<a class="glyph" alt="Twitter profile" href="https://twitter.com/{{ . }}"><img src="/icons/twitter.svg" height="24px" width="24px"></a>
</div>
{{ end }}
- {{ with .Site.Params.RedditUser }}
- <div class="icon-24x24">
- <a class="glyph" alt="Reddit profile" href="https://www.reddit.com/user/{{ . }}">
- <img src="/icons/reddit-alien.svg" height="24px" width="24px" />
- </a>
- </div>
- {{ end }}
</div>
</aside>