From 5172d73137513bae5e3167e278e12438e0954ff0 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 28 Sep 2020 17:32:37 -0400 Subject: [PATCH] feat: add theme-color meta tag for browser address bar --- src/meta/tags.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/meta/tags.js b/src/meta/tags.js index 6ba29ee621..343bb960c3 100644 --- a/src/meta/tags.js +++ b/src/meta/tags.js @@ -31,6 +31,9 @@ Tags.parse = async (req, data, meta, link) => { name: 'msapplication-badge', content: 'frequency=30; polling-uri=' + nconf.get('url') + '/sitemap.xml', noEscape: true, + }, { + name: 'theme-color', + content: meta.config.themeColor || '#ffffff', }]; if (Meta.config.keywords) {