mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44:25 +04:00
6 lines
417 B
HTML
6 lines
417 B
HTML
{% assign src = include.src %}
|
|
{% assign width = include.width | default: 507 %}
|
|
<picture>
|
|
<img src="{{ page | relative }}/{{ src }}" srcset="{{ page | relative }}/{{ src }} 1x, {{ page | relative }}/{{ src | replace: '.png', '@2x.png' }} 2x" alt="{{ include.alt }}" class="img-fluid {{ include.class }}" width="{{ width }}"{% if include.height %} height="{{ include.height }}"{% endif %} loading="lazy">
|
|
</picture>
|