You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
431 B
HTML
9 lines
431 B
HTML
{% 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 %}
|