Update image
This commit is contained in:
parent
eedf838d1f
commit
37d4eb8807
1 changed files with 1 additions and 3 deletions
|
@ -1,11 +1,9 @@
|
|||
{% include base_path %}
|
||||
|
||||
<figure class="{{ include.class }}">
|
||||
<img src=
|
||||
{% if include.image_path contains "://" %}
|
||||
"{{ include.image_path }}"
|
||||
{% else %}
|
||||
"{{ include.image_path | prepend: "/assets/images/" | prepend: base_path }}"
|
||||
"{{ include.image_path | prepend: "/assets/images/" | prepend: absolute_url }}"
|
||||
{% endif %}
|
||||
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
||||
{% if include.caption %}
|
||||
|
|
Loading…
Reference in a new issue