fix: properly create svgs static paths #2
1 changed files with 2 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue