@ -26,15 +26,6 @@ library.addAdminNavigation = function(header, callback) {
callback(null, header);
};
library.getTeasers = function(data, callback) {
data.teasers.forEach(function(teaser) {
if (teaser && teaser.content) {
teaser.content = striptags(teaser.content, ['img']);
}
});
callback(null, data);
library.defineWidgetAreas = function(areas, callback) {
areas = areas.concat([
{
@ -2,7 +2,6 @@
"id": "nodebb-theme-persona",
"library": "library.js",
"hooks": [
{ "hook": "filter:teasers.get", "method": "getTeasers" },
{ "hook": "filter:widgets.getAreas", "method": "defineWidgetAreas" },
{ "hook": "filter:config.get", "method": "getThemeConfig" },
{ "hook": "static:app.load", "method": "init" },