Merge branch 'feature/youtube-channel' into develop

This commit is contained in:
Michael Rose
2016-12-21 22:30:09 -05:00
4 changed files with 17 additions and 4 deletions

View File

@ -179,7 +179,13 @@
</li>
{% endif %}
{% if author.youtube %}
{% if author.youtube contains "://" %}
<li>
<a href="{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
</a>
</li>
{% else %}
<li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube