{% 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>
