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

@@ -16,7 +16,7 @@
{% if include.type == "grid" and teaser != blank %}
<div class="archive__item-teaser">
<img src=
{% if teaser contains "http" %}
{% if teaser contains "://" %}
"{{ teaser }}"
{% else %}
"{{ teaser | prepend: "/images/" | prepend: base_path }}"