From 7e1f1539e3022f5a8fce0c9176efc3fda4abca4a Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 21 Dec 2016 22:30:01 -0500 Subject: [PATCH] Add support for YouTube channel URLs in `/docs` author sidebar --- docs/_includes/author-profile.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/_includes/author-profile.html b/docs/_includes/author-profile.html index bb822345..e0cd6ecd 100644 --- a/docs/_includes/author-profile.html +++ b/docs/_includes/author-profile.html @@ -179,7 +179,13 @@ {% endif %} - {% if author.youtube %} + {% if author.youtube contains "://" %} +
  • + + YouTube + +
  • + {% else %}
  • YouTube