summaryrefslogtreecommitdiffstats
path: root/_includes/image.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/image.html')
-rw-r--r--_includes/image.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/image.html b/_includes/image.html
index 35bd4c3..626367c 100644
--- a/_includes/image.html
+++ b/_includes/image.html
@@ -2,7 +2,7 @@
{% if {{include.url}} %}
<a class="no_icon" target="_blank" rel="noopener" href="{{include.url}}">
{% endif %}
- <img class="docimage" src="{{include.file | prepend: '/assets/img/' | relative_url }}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %} />
+ <img class="docimage" src="{{include.file | replace: "\", "/" | prepend: '/assets/img/' | relative_url }}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %} />
{% if {{include.url}} %}</a>{% endif %}{% if {{include.caption}} %}
<figcaption>
{{include.caption}}