feat: add django-whitenoise

This commit is contained in:
2026-07-14 20:29:29 +02:00
parent 9a795dc3c9
commit f986105cf5
8 changed files with 73 additions and 5 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
{% block extrahead %}
{{ block.super }}
<link rel="manifest" href="{% static 'manifest.webmanifest' %}">
<link rel="manifest" href="{% url 'manifest' %}">
<meta name="theme-color" content="#202a35">
<meta name="mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" href="{% static 'icons/icon-192.png' %}">
+31
View File
@@ -0,0 +1,31 @@
{% load static %}{
"name": "Osiris",
"short_name": "Osiris",
"description": "Medication and pulse tracking for Osiris the cat.",
"start_url": "/admin/today/",
"scope": "/",
"display": "standalone",
"orientation": "portrait",
"background_color": "#202a35",
"theme_color": "#202a35",
"icons": [
{
"src": "{% static 'icons/icon-192.png' %}",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "{% static 'icons/icon-512.png' %}",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "{% static 'icons/icon-maskable-512.png' %}",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
]
}