Skip to content

Node.js based forum software built for the modern web

feat: add theme-color meta tag for browser address bar

psychobunny5172d7313751
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) {