From 9661e6cb7fdaf5ac7ebd158339cddb5b53f62bd1 Mon Sep 17 00:00:00 2001 From: lrdodge Date: Tue, 9 Aug 2016 07:50:42 -0500 Subject: [PATCH] Add YouTube link to Footer --- _config.yml | 2 ++ _includes/footer.html | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index 3e90d7e..f7b8426 100644 --- a/_config.yml +++ b/_config.yml @@ -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: diff --git a/_includes/footer.html b/_includes/footer.html index 3d38489..cbf7f9d 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -82,6 +82,16 @@ + {% endif %} + {% if site.author.youtube and site.footer-links-active.youtube %} +
  • + + + + + + +
  • {% endif %} {% if site.footer-links-active.rss %}
  • @@ -91,14 +101,14 @@ -
  • - {% endif %} + + {% endif %}