From 475f8d7ab646f179a258c4eb3ae1dfc8e78845bf Mon Sep 17 00:00:00 2001 From: -k Date: Mon, 22 Jan 2024 08:06:17 -0800 Subject: [PATCH] fix: set image path --- templates/shortcodes/image.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shortcodes/image.html b/templates/shortcodes/image.html index 2b18104..db3ba75 100644 --- a/templates/shortcodes/image.html +++ b/templates/shortcodes/image.html @@ -1,4 +1,4 @@ -{%- if img is starting_with("https://") %}{% set image = img %}{% else %}{% set image = get_url(path=img, cachebust=true) %}{% set meta = get_image_metadata(path="img") %}{%- endif %} +{%- if img is starting_with("https://") %}{% set image = img %}{% else %}{% set image = get_url(path=img, cachebust=true) %}{% set meta = get_image_metadata(path=image) %}{%- endif %}
{%- if link %}{%- endif %}