From b6128190386e500d94193597e065f40c3c5f1b59 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 17 Jun 2017 14:15:33 +0200 Subject: [PATCH] Improved web manifest --- config.json | 3 ++- layout/layout.pixy | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index 7b828208..60d901f1 100644 --- a/config.json +++ b/config.json @@ -33,8 +33,9 @@ ], "manifest": { "short_name": "notify.moe", + "gcm_sender_id": "941298467524", "theme_color": "#f8a582", - "gcm_sender_id": "941298467524" + "background_color": "#202020" }, "ports": { "http": 4000, diff --git a/layout/layout.pixy b/layout/layout.pixy index adda228a..a1c0214c 100644 --- a/layout/layout.pixy +++ b/layout/layout.pixy @@ -3,6 +3,7 @@ component Layout(app *aero.Application, user *arn.User, content string) head title= app.Config.Title meta(name="viewport", content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes") + meta(name="theme-color", content=app.Config.Manifest.ThemeColor) link(rel="manifest", href="/manifest.json") body #container