Skip to content

Node.js based forum software built for the modern web

default link tag (apple-touch-icon) added

Julian Lamefac6272bbf2
diff --git a/public/logo.png b/public/logo.png
new file mode 100644
index 0000000000..5284e59838
Binary files /dev/null and b/public/logo.png differ
diff --git a/src/webserver.js b/src/webserver.js
index 7903b1b814..36c2105819 100644
--- a/src/webserver.js
+++ b/src/webserver.js
@@ -78,8 +78,12 @@ var path = require('path'),
property: 'keywords',
content: meta.config.keywords || ''
}],
+ defaultLinkTags = [{
+ rel: 'apple-touch-icon',
+ href: meta.config['brand:logo'] || nconf.get('relative_path') + '/logo.png'
+ }],
metaString = utils.buildMetaTags(defaultMetaTags.concat(options.metaTags || [])),
- linkTags = utils.buildLinkTags(options.linkTags || []),
+ linkTags = utils.buildLinkTags(defaultLinkTags.concat(options.linkTags || [])),
templateValues = {
cssSrc: meta.config['theme:src'] || nconf.get('relative_path') + '/vendor/bootstrap/css/bootstrap.min.css',
pluginCSS: plugins.cssFiles.map(function(file) { return { path: file }; }),