diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-06-07 15:57:26 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-06-07 15:57:26 +0200 |
commit | ef2657c050ab6d1ed41eb9a3b2c7a9a3925b35ad (patch) | |
tree | 33d7c9843c526ecd0858298a83914de723afc037 /templates/shortcodes | |
parent | 982b7ad783f0135af08700465f0ded1a4371000f (diff) | |
download | rabalderz-ef2657c050ab6d1ed41eb9a3b2c7a9a3925b35ad.tar.gz rabalderz-ef2657c050ab6d1ed41eb9a3b2c7a9a3925b35ad.tar.bz2 rabalderz-ef2657c050ab6d1ed41eb9a3b2c7a9a3925b35ad.zip |
Fix issues with paths on duburls.
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> |