diff --git a/_includes/author-profile.html b/_includes/author-profile.html index e0cd6ecd..dfc713a4 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -179,18 +179,20 @@ {% endif %} - {% if author.youtube contains "://" %} -
  • - - YouTube - -
  • - {% else %} -
  • - - YouTube - -
  • + {% if author.youtube %} + {% if author.youtube contains "://" %} +
  • + + YouTube + +
  • + {% else author.youtube %} +
  • + + YouTube + +
  • + {% endif %} {% endif %} {% if author.soundcloud %} diff --git a/docs/_includes/author-profile.html b/docs/_includes/author-profile.html index e0cd6ecd..dfc713a4 100644 --- a/docs/_includes/author-profile.html +++ b/docs/_includes/author-profile.html @@ -179,18 +179,20 @@ {% endif %} - {% if author.youtube contains "://" %} -
  • - - YouTube - -
  • - {% else %} -
  • - - YouTube - -
  • + {% if author.youtube %} + {% if author.youtube contains "://" %} +
  • + + YouTube + +
  • + {% else author.youtube %} +
  • + + YouTube + +
  • + {% endif %} {% endif %} {% if author.soundcloud %} diff --git a/test/_config.yml b/test/_config.yml index 8ecfaa75..16744e36 100644 --- a/test/_config.yml +++ b/test/_config.yml @@ -109,7 +109,6 @@ author: youtube : # "https://youtube.com/c/MichaelRoseDesign" - # Reading Files include: - .htaccess