InvenTree/docs/_includes/splide_image.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
204 B
HTML
Raw Normal View History

{% if 'http' in src %}
{% set img_url = src %}
{% else %}
{% set img_url = config.assets_dir + '/images/' + src %}
{% endif %}
<li class='splide__slide'>
<img alt='Image' src='{{ img_url }}'>
</li>