From: Frédéric Péters Date: Sat, 6 Jun 2020 15:42:59 +0000 (+0200) Subject: misc: add favicon & manifest X-Git-Tag: v2022~21 X-Git-Url: https://git.0d.be/?p=chloro.git;a=commitdiff_plain;h=fbedb25772d4531fe324c7a3bf88eac63c35518b misc: add favicon & manifest --- diff --git a/chloro/phyll/static/icon.png b/chloro/phyll/static/icon.png new file mode 100644 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 index 0000000..b63e91b --- /dev/null +++ b/chloro/phyll/static/manifest.json @@ -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" + } + ] +} diff --git a/chloro/phyll/templates/phyll/base.html b/chloro/phyll/templates/phyll/base.html index 4f231e1..e7449de 100644 --- a/chloro/phyll/templates/phyll/base.html +++ b/chloro/phyll/templates/phyll/base.html @@ -6,6 +6,8 @@ {% block page-title %}Coin web de Frédéric Péters{% endblock %} + + {% if request.user.is_staff %}