feat: add django-whitenoise
This commit is contained in:
@@ -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' %}">
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user