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:
parent
5c6edc5c39
commit
584c1524f1
@ -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'>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user