2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-06-15 03:35:35 +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 %} {% 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'>