forked from deepStateMirrors/tabi
parent
8c5f30556a
commit
fd50204e32
9 changed files with 89 additions and 4 deletions
|
@ -1,2 +1,8 @@
|
|||
{% set meta = get_image_metadata(path=src, allow_missing=true) %}
|
||||
{% if full_width | default(value=false) %}
|
||||
<div class="full-width">
|
||||
{% endif %}
|
||||
<img class="dimmable-image" src="{{ get_url(path=src) }}" {% if alt %}alt="{{ alt }}" {% endif %} {% if meta.width %}width="{{ meta.width }}" {% endif %} {% if meta.height %}height="{{ meta.height }}" {% endif %}/>
|
||||
{% if full_width | default(value=false) %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue