new header for meta title

This commit is contained in:
Julian Lam
2013-06-05 16:17:07 -04:00
parent 6a91c8a116
commit 1a104686ac
7 changed files with 26 additions and 7 deletions

View File

@@ -7,7 +7,10 @@ var user = require('./../user.js'),
(function(User) {
User.create_routes = function(app) {
var build_header = function() {
return templates['header'].parse({ cssSrc: global.config['theme:src'] || '/vendor/bootstrap/css/bootstrap.min.css' });
return templates['header'].parse({
cssSrc: global.config['theme:src'] || '/vendor/bootstrap/css/bootstrap.min.css',
title: global.config['title'] || 'NodeBB'
});
};
app.get('/uid/:uid', function(req, res) {