aboutsummaryrefslogtreecommitdiff
path: root/templates/shortcodes/img.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/img.html')
-rw-r--r--templates/shortcodes/img.html2
1 files changed, 1 insertions, 1 deletions
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="/") %}