Julian Lam dfed1df8b6 init
2014-03-30 15:47:28 -04:00

35 lines
578 B
JavaScript

(function(module) {
"use strict";
var Theme = {};
Theme.defineWidgetAreas = function(areas, callback) {
areas = areas.concat([
{
'name': 'MOTD',
'template': 'home.tpl',
'location': 'motd'
},
{
'name': 'Homepage Footer',
'template': 'home.tpl',
'location': 'footer'
},
{
'name': 'Category Sidebar',
'template': 'category.tpl',
'location': 'sidebar'
},
{
'name': 'Topic Footer',
'template': 'topic.tpl',
'location': 'footer'
}
]);
callback(null, areas);
};
module.exports = Theme;
}(module));