From 009d3f90b1881530bd28003abe83cfc3735882be Mon Sep 17 00:00:00 2001 From: Jieiku Date: Fri, 25 Aug 2023 01:44:50 -0700 Subject: Refactor Documentation, PWA Fix, image shortcodes fix, simplify js script loading --- templates/shortcodes/img.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/shortcodes/img.html') diff --git a/templates/shortcodes/img.html b/templates/shortcodes/img.html index d599ba0..f5754ce 100644 --- a/templates/shortcodes/img.html +++ b/templates/shortcodes/img.html @@ -27,7 +27,7 @@ {%- endif %} {%- else %} {# Same Directory Path #} - {%- set path = page.path %} + {%- set path = "" %} {%- if not w or not h %} {%- if lang != config.default_language %} {%- set metapath = page.path ~ img | replace(from=page.path | truncate(length=4, end=""), to="/") %} -- cgit v1.3.1