diff --git a/_includes/image.html b/_includes/image.html index f6d36c8..32fd161 100644 --- a/_includes/image.html +++ b/_includes/image.html @@ -1,5 +1,7 @@ {% capture imagePath %}/assets/blog/{{ page.id | split: "/" | last }}/{{ include.name }}{% endcapture %} +{% assign imagePath=(imagePath | relative_url) %} + {% capture src %}src="{{ imagePath }}"{% endcapture %} {% assign caption=include.caption | default: "" %}