Replace base_path with absolute_url
filter
This commit is contained in:
parent
37d4eb8807
commit
637e5d9934
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
{% 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: absolute_url }}"
|
"{{ include.image_path | prepend: "/assets/images/" | absolute_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
||||||
{% if include.caption %}
|
{% if include.caption %}
|
||||||
|
|
Loading…
Reference in a new issue