fix image clck url for base url
This commit is contained in:
parent
8990aa978c
commit
9bdc7d965a
@ -1,5 +1,7 @@
|
|||||||
{% capture imagePath %}/assets/blog/{{ page.id | split: "/" | last }}/{{ include.name }}{% endcapture %}
|
{% capture imagePath %}/assets/blog/{{ page.id | split: "/" | last }}/{{ include.name }}{% endcapture %}
|
||||||
|
|
||||||
|
{% assign imagePath=(imagePath | relative_url) %}
|
||||||
|
|
||||||
{% capture src %}src="{{ imagePath }}"{% endcapture %}
|
{% capture src %}src="{{ imagePath }}"{% endcapture %}
|
||||||
|
|
||||||
{% assign caption=include.caption | default: "" %}
|
{% assign caption=include.caption | default: "" %}
|
||||||
|
Loading…
Reference in New Issue
Block a user