diff --git a/library.js b/library.js index e732bbda..7ed88cd2 100644 --- a/library.js +++ b/library.js @@ -93,6 +93,11 @@ library.defineWidgetAreas = async function (areas) { template: 'global', location: 'sidebar-footer', }, + { + name: 'Brand Header', + template: 'global', + location: 'brand-header', + }, ]); return areas; diff --git a/templates/partials/header/brand.tpl b/templates/partials/header/brand.tpl index 6fa6d342..9f1a0a92 100644 --- a/templates/partials/header/brand.tpl +++ b/templates/partials/header/brand.tpl @@ -14,6 +14,13 @@ {{{ end }}} + {{{ if widgets.brand-header.length }}} +
+ {{{each widgets.brand-header}}} + {{./html}} + {{{end}}} +
+ {{{ end }}} {{{ end }}} \ No newline at end of file