mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
15 lines
435 B
HTML
15 lines
435 B
HTML
{% if page is defined %}
|
|
{% set len = page.components | length %}
|
|
{% set p = page.components | slice(end=len - 1) | join(sep='/') %}
|
|
{% else %}
|
|
{% set p = section.components | join(sep='/') %}
|
|
{% endif %}
|
|
|
|
|
|
<figure class="dark-block" title="{{ dark }}">
|
|
<img src="{{ get_url(path=p ~ "/" ~ dark) }}">
|
|
</figure>
|
|
<figure class="light-block" title="{{ light }}">
|
|
<img src="{{ get_url(path=p ~ "/" ~ light) }}" >
|
|
</figure>
|