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

@@ -23,7 +23,10 @@ var express = require('express'),
(function(app) {
var templates = null,
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'
});
};
// Middlewares