mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 16:30:34 +01:00
default link tag (apple-touch-icon) added
This commit is contained in:
BIN
public/logo.png
Normal file
BIN
public/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
@@ -78,8 +78,12 @@ var path = require('path'),
|
|||||||
property: 'keywords',
|
property: 'keywords',
|
||||||
content: meta.config.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 || [])),
|
metaString = utils.buildMetaTags(defaultMetaTags.concat(options.metaTags || [])),
|
||||||
linkTags = utils.buildLinkTags(options.linkTags || []),
|
linkTags = utils.buildLinkTags(defaultLinkTags.concat(options.linkTags || [])),
|
||||||
templateValues = {
|
templateValues = {
|
||||||
cssSrc: meta.config['theme:src'] || nconf.get('relative_path') + '/vendor/bootstrap/css/bootstrap.min.css',
|
cssSrc: meta.config['theme:src'] || nconf.get('relative_path') + '/vendor/bootstrap/css/bootstrap.min.css',
|
||||||
pluginCSS: plugins.cssFiles.map(function(file) { return { path: file }; }),
|
pluginCSS: plugins.cssFiles.map(function(file) { return { path: file }; }),
|
||||||
|
|||||||
Reference in New Issue
Block a user