1
0
Fork 0
forked from hswaw/spejstore

fix: properly create svgs static paths

This commit is contained in:
palid 2024-01-31 14:22:17 +01:00
parent 3c22a7b8c1
commit 23c008914b
Signed by: palid
SSH key fingerprint: SHA256:Mus3wCd2x6nxtARI0DpWGT7lIWbNy3R90BVDg0j35PI

View file

@ -1,4 +1,5 @@
{% load static %}
{% 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>
{% endif %}