|
|
@ -253,7 +253,7 @@ middleware.renderHeader = function(req, res, callback) {
|
|
|
|
|
|
|
|
|
|
|
|
async.parallel([
|
|
|
|
async.parallel([
|
|
|
|
function(next) {
|
|
|
|
function(next) {
|
|
|
|
translator.get('pages:' + path.basename(req.url), function(translated) {
|
|
|
|
translator.translate('[[pages:' + path.basename(req.url) + ']]', function(translated) {
|
|
|
|
var metaTitle = templateValues.metaTags.filter(function(tag) {
|
|
|
|
var metaTitle = templateValues.metaTags.filter(function(tag) {
|
|
|
|
return tag.name === 'title';
|
|
|
|
return tag.name === 'title';
|
|
|
|
});
|
|
|
|
});
|
|
|
|