2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +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
commit 6cd2376ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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