From 9bdc7d965a66c193eb20cc787cd41afa92d14f0e Mon Sep 17 00:00:00 2001 From: rzen Date: Tue, 2 Jun 2020 21:04:07 -0400 Subject: [PATCH] fix image clck url for base url --- _includes/image.html | 2 ++ 1 file changed, 2 insertions(+) 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: "" %}