31 lines
476 B
JavaScript
31 lines
476 B
JavaScript
|
|
'use strict';
|
|
|
|
const Theme = module.exports;
|
|
|
|
Theme.defineWidgetAreas = async function (areas) {
|
|
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',
|
|
},
|
|
]);
|
|
return areas;
|
|
};
|