Replace contains "http" with contains "://"

This commit is contained in:
Michael Rose
2016-06-03 11:59:19 -04:00
parent 8b793dde76
commit b3c0b79b92
8 changed files with 17 additions and 19 deletions

View File

@@ -7,7 +7,7 @@
<div itemscope itemtype="http://schema.org/Person">
<div class="author__avatar">
{% if author.avatar contains "http" %}
{% if author.avatar contains "://" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}">
{% else %}
<img src="{{ author.avatar | prepend: "/images/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}">