Update image

This commit is contained in:
Fernando Ribeiro authored and GitHub committed 2016-11-05 21:27:59 +00:00
1 parent eedf838d1f
commit 37d4eb8807
1 file changed
+1 -3
+1 -3
View File
@@ -1,11 +1,9 @@
{% include base_path %}
<figure class="{{ include.class }}"> <figure class="{{ include.class }}">
<img src= <img src=
{% if include.image_path contains "://" %} {% if include.image_path contains "://" %}
"{{ include.image_path }}" "{{ include.image_path }}"
{% else %} {% else %}
"{{ include.image_path | prepend: "/assets/images/" | prepend: base_path }}" "{{ include.image_path | prepend: "/assets/images/" | prepend: absolute_url }}"
{% endif %} {% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}"> alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %} {% if include.caption %}