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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
176 B
HTML
Raw Normal View History

2020-08-08 18:07:48 +00:00
{% set len = page.components | length %}
{% set p = page.components | slice(end=len - 1) | join(sep='/') %}
<img src="{{ get_url(path=p ~ "/" ~ file) }}" width="{{ width }}">