Allow images to be placed in other folders
- Remove `images/` only restriction and encourage placement in `assets/images/` instead
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
{% if s.image contains "://" %}
|
||||
"{{ s.image }}"
|
||||
{% else %}
|
||||
"{{ s.image | prepend: "/images/" | prepend: base_path }}"
|
||||
"{{ s.image | prepend: "/" | prepend: base_path }}"
|
||||
{% endif %}
|
||||
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user