fix: statics

pull/1/head
palid 2024-01-14 00:21:23 +01:00
parent 6af75328f4
commit 35a48c3eee
Signed by: palid
SSH Key Fingerprint: SHA256:Mus3wCd2x6nxtARI0DpWGT7lIWbNy3R90BVDg0j35PI
5 changed files with 12 additions and 8 deletions

View File

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

View File

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

View File

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

View File

@ -5,7 +5,7 @@
@font-face {
font-family: "Press Start 2P";
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-style: normal;
}

View File

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