From 2927adb1265cb7b2727256fde3c92923f27028f6 Mon Sep 17 00:00:00 2001 From: Menci Date: Wed, 7 Nov 2018 13:54:51 +0800 Subject: [PATCH] Make logo image configurable --- config-example.json | 5 +++++ views/header.ejs | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/config-example.json b/config-example.json index 4e8edc6..f0d3019 100644 --- a/config-example.json +++ b/config-example.json @@ -8,6 +8,11 @@ "password": null, "host": "127.0.0.1" }, + "logo": { + "url": null, + "width": null, + "height": null + }, "register_mail": false, "email": { "method": "aliyundm", diff --git a/views/header.ejs b/views/header.ejs index 56c2747..edaa5ae 100644 --- a/views/header.ejs +++ b/views/header.ejs @@ -33,7 +33,15 @@