forked from wiktor/spejstore-new
Merge pull request 'fix: properly create svgs static paths' (#2) from fix/static-svgs into master
Reviewed-on: https://code.hackerspace.pl/hswaw/spejstore/pulls/2
This commit is contained in:
commit
8ddc4da3b6
|
@ -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 New Issue