fix: properly create svgs static paths
This commit is contained in:
parent
3c22a7b8c1
commit
23c008914b
|
@ -1,4 +1,5 @@
|
||||||
|
{% load static %}
|
||||||
{% if category and category.icon_id %}
|
{% if category and category.icon_id %}
|
||||||
<div class="containericon" title="{{ category.name }}"><img src="/static/icons/{{ category.icon_id }}.svg" />
|
<div class="containericon" title="{{ category.name }}"><img src="{% static 'icons/' %}{{ category.icon_id }}.svg" />
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue