From 90b4d688f8ce267bedf459251e88c8c18d5a03c1 Mon Sep 17 00:00:00 2001 From: Minami Date: Tue, 1 Oct 2013 22:14:16 -0500 Subject: [PATCH 1/2] Testing adding of Meta Tags --- public/templates/admin/settings.tpl | 2 ++ src/install.js | 8 ++++---- src/webserver.js | 3 +++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/public/templates/admin/settings.tpl b/public/templates/admin/settings.tpl index 68fbacd632..a872497faf 100644 --- a/public/templates/admin/settings.tpl +++ b/public/templates/admin/settings.tpl @@ -8,6 +8,8 @@

+ +

diff --git a/src/install.js b/src/install.js index 4f60f6203d..fe0b5169d1 100644 --- a/src/install.js +++ b/src/install.js @@ -41,10 +41,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) { diff --git a/src/webserver.js b/src/webserver.js index ee87e0fa16..0a5374cdf5 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -54,6 +54,9 @@ var express = require('express'), }, { property: 'og:site_name', content: meta.config.title || 'NodeBB' + }, { + property: 'og:keywords', + content: meta.config['keywords'] || '' }], metaString = utils.buildMetaTags(defaultMetaTags.concat(options.metaTags || [])), templateValues = { From eb022220f4597a0d242e1ae6a991839c47065b64 Mon Sep 17 00:00:00 2001 From: Quinton Marchi Date: Wed, 2 Oct 2013 14:22:56 -0400 Subject: [PATCH 2/2] Final Edit for keywords --- src/webserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver.js b/src/webserver.js index 0a5374cdf5..371e64c53e 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -55,7 +55,7 @@ var express = require('express'), property: 'og:site_name', content: meta.config.title || 'NodeBB' }, { - property: 'og:keywords', + property: 'keywords', content: meta.config['keywords'] || '' }], metaString = utils.buildMetaTags(defaultMetaTags.concat(options.metaTags || [])),