diff options
Diffstat (limited to 'templates/shortcodes')
-rw-r--r-- | templates/shortcodes/figure.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shortcodes/figure.html b/templates/shortcodes/figure.html index 5a83112..98332a0 100644 --- a/templates/shortcodes/figure.html +++ b/templates/shortcodes/figure.html @@ -1,5 +1,5 @@ <div class="figure"> - <img src="/{{ page.path | safe }}{{ img }}" {% if alt %}alt="[{{ alt }}]"{% endif %}> + <img src="{{ get_url(path=page.path ~ img) | safe }}" {% if alt %}alt="[{{ alt }}]"{% endif %}> <div class="caption"> {{ body | markdown | safe}} </div> |