Skip to content

Commit 821e5b2

Browse files
kootenpvdaattali
authored andcommitted
added reddit (daattali#121)
* added reddit * added reddit to footerlinks/author in _config.yaml
1 parent e079762 commit 821e5b2

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ author:
4444
facebook: yourname # eg. daattali
4545
github: yourname # eg. daattali
4646
twitter: yourname # eg. daattali
47+
reddit: yourname # eg. pvkooten
4748
google-plus: +yourname # eg. +DeanAttali or 109424658772469020925
4849
linkedin: yourname # eg. daattali
4950
xing: yourname # eg. daattali
@@ -61,6 +62,7 @@ footer-links-active:
6162
twitter: true
6263
google-plus: false
6364
github: true
65+
reddit: false
6466
linkedin: false
6567
xing: false
6668
stackoverflow: false

_includes/footer.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@
3333
</a>
3434
</li>
3535
{% endif %}
36+
{% if site.author.reddit and site.footer-links-active.reddit %}
37+
<li>
38+
<a href="https://reddit.com/u/{{ site.author.reddit }}" title="Reddit">
39+
<span class="fa-stack fa-lg">
40+
<i class="fa fa-circle fa-stack-2x"></i>
41+
<i class="fa fa-reddit fa-stack-1x fa-inverse"></i>
42+
</span>
43+
</a>
44+
</li>
45+
{% endif %}
3646
{% if site.author.google-plus and site.footer-links-active.google-plus %}
3747
<li>
3848
<a href="https://plus.google.com/{{ site.author.google-plus }}" title="Google+">

0 commit comments

Comments
 (0)