fix image clck url for base url

This commit is contained in:
rzen 2020-06-02 21:04:07 -04:00
parent 8990aa978c
commit 9bdc7d965a

View File

@ -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: "" %}