docspell/website/site/templates/shortcodes/imgright.html

4 lines
198 B
HTML
Raw Normal View History

2020-07-27 20:13:22 +00:00
{% set len = page.components | length %}
{% set p = page.components | slice(end=len - 1) | join(sep='/') %}
2020-07-31 22:18:14 +00:00
<img style="float:right; padding-left:0.25em;" src="{{ get_url(path=p ~ "/" ~ file) }}">