Add YouTube link to Footer

This commit is contained in:
lrdodge 2016-08-09 07:50:42 -05:00
parent 613367bb8c
commit 9661e6cb7f
2 changed files with 15 additions and 3 deletions

View File

@ -48,6 +48,7 @@ author:
xing: yourname # eg. daattali
stackoverflow: yourlink # eg. "3943160/daattali"
instagram: yourname # eg. daattali
youtube: yourlink # eg. user/daattali or channel/daatali
# Select which links to show in the footer
footer-links-active:
@ -60,6 +61,7 @@ footer-links-active:
xing: false
stackoverflow: false
instagram: false
youtube: false
# Select which share links to show in posts
share-links-active:

View File

@ -82,6 +82,16 @@
</span>
</a>
</li>
{% endif %}
{% if site.author.youtube and site.footer-links-active.youtube %}
<li>
<a href="https://www.youtube.com/{{ site.author.youtube }}" title="YouTube">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-youtube fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
{% endif %}
{% if site.footer-links-active.rss %}
<li>