mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 10:58:26 +00:00
Website redesign
This commit is contained in:
4
website/site/templates/shortcodes/imgnormal2.html
Normal file
4
website/site/templates/shortcodes/imgnormal2.html
Normal file
@ -0,0 +1,4 @@
|
||||
{% 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 }}">
|
Reference in New Issue
Block a user