diff --git a/library.js b/library.js index cbba4bc..9997fce 100644 --- a/library.js +++ b/library.js @@ -1,6 +1,5 @@ 'use strict'; -var striptags = require('striptags'); var meta = require.main.require('./src/meta'); var user = require.main.require('./src/user'); @@ -72,6 +71,11 @@ library.defineWidgetAreas = function(areas, callback) { name: "Topic Footer", template: "topic.tpl", location: "footer" + }, + { + name: "Account Header", + template: "account/profile.tpl", + location: "header" } ]); diff --git a/templates/partials/account/header.tpl b/templates/partials/account/header.tpl index 7769a15..b024a1c 100644 --- a/templates/partials/account/header.tpl +++ b/templates/partials/account/header.tpl @@ -1,5 +1,11 @@ +
+ {{{each widgets.header}}} + {{widgets.header.html}} + {{{end}}} +
+