fix: statics

This commit is contained in:
Dariusz Niemczyk 2024-01-14 00:21:23 +01:00
parent 6af75328f4
commit 35a48c3eee
No known key found for this signature in database
5 changed files with 12 additions and 8 deletions

View File

@ -1,9 +1,11 @@
{% load static %}
<!DOCTYPE html> <!DOCTYPE html>
<style> <style>
@font-face { @font-face {
font-family: "Press Start 2P"; font-family: "Press Start 2P";
src: url("static/fonts/pressstart2p-regular-webfont.woff2") format("woff2"), src: url("{% static fonts/pressstart2p-regular-webfont.woff2 %}") format("woff2"),
url("static/fonts/pressstart2p-regular-webfont.woff") format("woff"); url("{% static fonts/pressstart2p-regular-webfont.woff %}") format("woff");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

@ -1,9 +1,11 @@
{% load static %}
<!DOCTYPE html> <!DOCTYPE html>
<style> <style>
@font-face { @font-face {
font-family: "Press Start 2P"; font-family: "Press Start 2P";
src: url("static/fonts/pressstart2p-regular-webfont.woff2") format("woff2"), src: url("{% static fonts/pressstart2p-regular-webfont.woff2 %}") format("woff2"),
url("static/fonts/pressstart2p-regular-webfont.woff") format("woff"); url("{% static fonts/pressstart2p-regular-webfont.woff %}") format("woff");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

@ -2,8 +2,8 @@
<style> <style>
@font-face { @font-face {
font-family: "Press Start 2P"; font-family: "Press Start 2P";
src: url("static/fonts/pressstart2p-regular-webfont.woff2") format("woff2"), src: url("{% static fonts/pressstart2p-regular-webfont.woff2 %}") format("woff2"),
url("static/fonts/pressstart2p-regular-webfont.woff") format("woff"); url("{% static fonts/pressstart2p-regular-webfont.woff %}") format("woff");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

@ -5,7 +5,7 @@
@font-face { @font-face {
font-family: "Press Start 2P"; font-family: "Press Start 2P";
src: url("{% static fonts/pressstart2p-regular-webfont.woff2 %}") format("woff2"), src: url("{% static fonts/pressstart2p-regular-webfont.woff2 %}") format("woff2"),
url("{% fonts/pressstart2p-regular-webfont.woff %}") format("woff"); url("{% static fonts/pressstart2p-regular-webfont.woff %}") format("woff");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

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