Skip to content

Commit 54bec47

Browse files
committed
footer: add google-plus, snapchat, spotify
1 parent 7b704c9 commit 54bec47

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

_config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,30 @@ author:
4444
facebook: yourname # eg. daattali
4545
github: yourname # eg. daattali
4646
twitter: yourname # eg. daattali
47+
google-plus: +yourname # eg. +DeanAttali or 109424658772469020925
4748
linkedin: yourname # eg. daattali
4849
xing: yourname # eg. daattali
4950
stackoverflow: yourlink # eg. "3943160/daattali"
51+
snapchat: yourname # eg. daattali
5052
instagram: yourname # eg. daattali
51-
youtube: yourlink # eg. user/daattali or channel/daattali
53+
youtube: yourlink # eg. user/daattali or channel/daattali
54+
spotify: yourname # eg. daattali
5255

5356
# Select which links to show in the footer
5457
footer-links-active:
5558
rss: false
5659
facebook: true
5760
email: true
5861
twitter: true
62+
google-plus: false
5963
github: true
6064
linkedin: false
6165
xing: false
6266
stackoverflow: false
67+
snapchat: false
6368
instagram: false
6469
youtube: false
70+
spotify: false
6571

6672
# Select which share links to show in posts
6773
share-links-active:

_includes/footer.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@
3232
</span>
3333
</a>
3434
</li>
35+
{% endif %}
36+
{% if site.author.google-plus and site.footer-links-active.google-plus %}
37+
<li>
38+
<a href="https://plus.google.com/{{ site.author.google-plus }}" title="Google+">
39+
<span class="fa-stack fa-lg">
40+
<i class="fa fa-circle fa-stack-2x"></i>
41+
<i class="fa fa-google-plus fa-stack-1x fa-inverse"></i>
42+
</span>
43+
</a>
44+
</li>
3545
{% endif %}
3646
{% if site.author.email and site.footer-links-active.email %}
3747
<li>
@@ -73,6 +83,16 @@
7383
</a>
7484
</li>
7585
{% endif %}
86+
{% if site.author.snapchat and site.footer-links-active.snapchat %}
87+
<li>
88+
<a href="https://www.snapchat.com/add/{{ site.author.snapchat }}" title="Snapchat">
89+
<span class="fa-stack fa-lg">
90+
<i class="fa fa-circle fa-stack-2x"></i>
91+
<i class="fa fa-snapchat-ghost fa-stack-1x fa-inverse"></i>
92+
</span>
93+
</a>
94+
</li>
95+
{% endif %}
7696
{% if site.author.instagram and site.footer-links-active.instagram %}
7797
<li>
7898
<a href="https://www.instagram.com/{{ site.author.instagram }}" title="Instagram">
@@ -92,6 +112,16 @@
92112
</span>
93113
</a>
94114
</li>
115+
{% endif %}
116+
{% if site.author.spotify and site.footer-links-active.spotify %}
117+
<li>
118+
<a href="https://open.spotify.com/user/{{ site.author.spotify }}" title="Spotify">
119+
<span class="fa-stack fa-lg">
120+
<i class="fa fa-circle fa-stack-2x"></i>
121+
<i class="fa fa-spotify fa-stack-1x fa-inverse"></i>
122+
</span>
123+
</a>
124+
</li>
95125
{% endif %}
96126
{% if site.footer-links-active.rss %}
97127
<li>

0 commit comments

Comments
 (0)