From: Michael Tremer Date: Wed, 4 Sep 2019 17:28:34 +0000 (+0100) Subject: wiki: Fix path for embedding images X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccb3e29ba9dec749cb392b53b7cc4181fe468865;p=ipfire.org.git wiki: Fix path for embedding images Signed-off-by: Michael Tremer --- diff --git a/src/templates/wiki/files/detail.html b/src/templates/wiki/files/detail.html index 523e82b6..1ac3df13 100644 --- a/src/templates/wiki/files/detail.html +++ b/src/templates/wiki/files/detail.html @@ -42,11 +42,11 @@ {% if file.is_image() %}
{{ _("Usage") }}
-
![]({{ file.filename }})
+
![](./{{ file.filename }})

{{ _("Or with an optional caption") }}

-
![]({{ file.filename }} "{{ _("Caption") }}")
+
![](./{{ file.filename }} "{{ _("Caption") }}")
{% end %}