misc: add favicon & manifest
authorFrédéric Péters <fpeters@0d.be>
Sat, 6 Jun 2020 15:42:59 +0000 (17:42 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 6 Jun 2020 17:14:39 +0000 (19:14 +0200)
chloro/phyll/static/icon.png [new file with mode: 0644]
chloro/phyll/static/manifest.json [new file with mode: 0644]
chloro/phyll/templates/phyll/base.html

diff --git a/chloro/phyll/static/icon.png b/chloro/phyll/static/icon.png
new file mode 100644 (file)
index 0000000..a19da86
Binary files /dev/null and b/chloro/phyll/static/icon.png differ
diff --git a/chloro/phyll/static/manifest.json b/chloro/phyll/static/manifest.json
new file mode 100644 (file)
index 0000000..b63e91b
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "0d - Coin web de Frédéric Péters",
+  "short_name": "0d",
+  "start_url": "/",
+  "icons": [
+    {
+      "sizes": "512x512",
+      "src": "/static/icon.png",
+      "type": "image/png"
+    }
+  ]
+}
index 4f231e1..e7449de 100644 (file)
@@ -6,6 +6,8 @@
     <title>{% block page-title %}Coin web de Frédéric Péters{% endblock %}</title>
     <link rel="stylesheet" type="text/css" href="/static/css/style.css">
     <link rel="alternate" type="application/atom+xml" title="Atom feed" href="/feed/atom" />
+    <link rel="shortcut icon" href="/static/icon.png">
+    <link rel="manifest" href="/static/manifest.json">
     {% if request.user.is_staff %}
     <script src="{% xstatic 'jquery' 'jquery.min.js' %}"></script>
     <script src="/static/js/chloro.js"></script>