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

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

5 lines
284 B
HTML
Raw Normal View History

2022-01-27 19:23:15 +00:00
{% set len = page.components | length %}
{% set p = page.components | slice(end=len - 1) | join(sep='/') %}
<img class="light-block" src="{{ get_url(path=p ~ "/" ~ light) }}" width="{{ width }}">
<img class="dark-block" src="{{ get_url(path=p ~ "/" ~ dark) }}" width="{{ width }}">