added reddit (#121)

* added reddit

* added reddit to footerlinks/author in _config.yaml
This commit is contained in:
Pascal van Kooten 2016-10-28 19:57:08 +02:00 committed by Dean Attali
parent e079762439
commit 821e5b2dbd
2 changed files with 12 additions and 0 deletions

View File

@ -44,6 +44,7 @@ author:
facebook: yourname # eg. daattali facebook: yourname # eg. daattali
github: yourname # eg. daattali github: yourname # eg. daattali
twitter: yourname # eg. daattali twitter: yourname # eg. daattali
reddit: yourname # eg. pvkooten
google-plus: +yourname # eg. +DeanAttali or 109424658772469020925 google-plus: +yourname # eg. +DeanAttali or 109424658772469020925
linkedin: yourname # eg. daattali linkedin: yourname # eg. daattali
xing: yourname # eg. daattali xing: yourname # eg. daattali
@ -61,6 +62,7 @@ footer-links-active:
twitter: true twitter: true
google-plus: false google-plus: false
github: true github: true
reddit: false
linkedin: false linkedin: false
xing: false xing: false
stackoverflow: false stackoverflow: false

View File

@ -33,6 +33,16 @@
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% if site.author.reddit and site.footer-links-active.reddit %}
<li>
<a href="https://reddit.com/u/{{ site.author.reddit }}" title="Reddit">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-reddit fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
{% endif %}
{% if site.author.google-plus and site.footer-links-active.google-plus %} {% if site.author.google-plus and site.footer-links-active.google-plus %}
<li> <li>
<a href="https://plus.google.com/{{ site.author.google-plus }}" title="Google+"> <a href="https://plus.google.com/{{ site.author.google-plus }}" title="Google+">