2021-12-04 13:38:04 -05:00

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;
};