2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-27 21:26:43 +00:00

Fixed image Jinja template

This commit is contained in:
eeintech 2020-11-30 12:56:25 -05:00
parent 5c6edc5c39
commit 584c1524f1

View File

@ -7,7 +7,7 @@
{% if 'http' in url %}
{% set doc_url = url %}
{% else %}
{% set doc_url = '{{ assets }}/images/{{ url }}' %}
{% set doc_url = assets + '/images/' + url %}
{% endif %}
<figure class='image'>