2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-06-13 18:55:26 +00:00

Merge pull request #42 from eeintech/fix_jinja_image

Fixed image Jinja template
This commit is contained in:
Oliver
2020-12-01 08:49:50 +11:00
committed by GitHub

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'>