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