Skip to content

Commit ffb3c84

Browse files
TheRealBenForcedaattali
authored andcommitted
Added social buttons for twitch, yelp, and steam (daattali#234)
1 parent acb409a commit ffb3c84

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

_config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ author:
5858
youtube: yourlink # eg. user/daattali or channel/daattali
5959
spotify: yourname # eg. daattali
6060
telephone: yourphone # eg. +14159998888
61+
steam: yourname # eg. daattali
62+
twitch: yourname # eg. daattali
63+
yelp: yourname # eg. daattali
6164

6265
# Select which links to show in the footer
6366
footer-links-active:
@@ -76,6 +79,9 @@ footer-links-active:
7679
youtube: false
7780
spotify: false
7881
telephone: false
82+
steam: false
83+
twitch: false
84+
yelp: false
7985

8086
# Select which share links to show in posts
8187
share-links-active:

_includes/footer.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,39 @@
168168
</a>
169169
</li>
170170
{% endif %}
171+
{% if site.author.steam and site.footer-links-active.steam %}
172+
<li>
173+
<a href="https://steamcommunity.com/id/{{ site.author.steam }}" title="Steam">
174+
<span class="fa-stack fa-lg" aria-hidden="true">
175+
<i class="fa fa-circle fa-stack-2x"></i>
176+
<i class="fa fa-steam fa-stack-1x fa-inverse"></i>
177+
</span>
178+
<span class="sr-only">Steam</span>
179+
</a>
180+
</li>
181+
{% endif %}
182+
{% if site.author.twitch and site.footer-links-active.twitch %}
183+
<li>
184+
<a href="https://www.twitch.tv/{{ site.author.twitch }}" title="Twitch">
185+
<span class="fa-stack fa-lg" aria-hidden="true">
186+
<i class="fa fa-circle fa-stack-2x"></i>
187+
<i class="fa fa-twitch fa-stack-1x fa-inverse"></i>
188+
</span>
189+
<span class="sr-only">Twitch</span>
190+
</a>
191+
</li>
192+
{% endif %}
193+
{% if site.author.yelp and site.footer-links-active.yelp %}
194+
<li>
195+
<a href="https://{{ site.author.yelp }}.yelp.com" title="Yelp">
196+
<span class="fa-stack fa-lg" aria-hidden="true">
197+
<i class="fa fa-circle fa-stack-2x"></i>
198+
<i class="fa fa-yelp fa-stack-1x fa-inverse"></i>
199+
</span>
200+
<span class="sr-only">Yelp</span>
201+
</a>
202+
</li>
203+
{% endif %}
171204
</ul>
172205
<p class="copyright text-muted">
173206
{{ site.author.name }}

0 commit comments

Comments
 (0)