mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 16:30:34 +01:00
Merge pull request #371 from iamcardinal/master
Adds meta:keywords tags fixes tabbing, closes #330
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
<input class="form-control" type="text" placeholder="Your Community Name" data-field="title" /><br />
|
||||
<label>Site Description</label>
|
||||
<input type="text" class="form-control" placeholder="A short description about your community" data-field="description" /><br />
|
||||
<label>Site Keywords</label>
|
||||
<input type="text" class="form-control" placeholder="Keywords describing your community, comma-seperated" data-field="keywords" /><br />
|
||||
<label>Imgur Client ID</label>
|
||||
<input type="text" class="form-control" placeholder="Imgur ClientID for image uploads" data-field="imgurClientID" /><br />
|
||||
<label>Maximum User Image Size</label>
|
||||
|
||||
@@ -43,10 +43,10 @@ var async = require('async'),
|
||||
name: 'redis:password',
|
||||
description: 'Password of your Redis database'
|
||||
}, {
|
||||
name: 'bind_address',
|
||||
description: 'IP or Hostname to bind to',
|
||||
'default': '0.0.0.0'
|
||||
}],
|
||||
name: 'bind_address',
|
||||
description: 'IP or Hostname to bind to',
|
||||
'default': '0.0.0.0'
|
||||
}],
|
||||
setup: function (callback) {
|
||||
async.series([
|
||||
function (next) {
|
||||
|
||||
@@ -56,6 +56,9 @@ var express = require('express'),
|
||||
}, {
|
||||
property: 'og:site_name',
|
||||
content: meta.config.title || 'NodeBB'
|
||||
}, {
|
||||
property: 'keywords',
|
||||
content: meta.config['keywords'] || ''
|
||||
}],
|
||||
metaString = utils.buildMetaTags(defaultMetaTags.concat(options.metaTags || [])),
|
||||
templateValues = {
|
||||
|
||||
Reference in New Issue
Block a user