2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +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 %} {% if 'http' in url %}
{% set doc_url = url %} {% set doc_url = url %}
{% else %} {% else %}
{% set doc_url = '{{ assets }}/images/{{ url }}' %} {% set doc_url = assets + '/images/' + url %}
{% endif %} {% endif %}
<figure class='image'> <figure class='image'>