diff --git a/javascripts/discourse/initializers/initialize-brand-header.js b/javascripts/discourse/initializers/initialize-brand-header.js index 193a5c6..7ea2aaf 100644 --- a/javascripts/discourse/initializers/initialize-brand-header.js +++ b/javascripts/discourse/initializers/initialize-brand-header.js @@ -14,7 +14,7 @@ export default { ); withPluginApi("1.14.0", (api) => { - api.renderInOutlet("above-site-header", BrandHeaderContainer); + api.renderInOutlet(settings.plugin_outlet, BrandHeaderContainer); }); }, }; diff --git a/settings.yaml b/settings.yaml index 8c8ce02..02b98b5 100644 --- a/settings.yaml +++ b/settings.yaml @@ -24,3 +24,9 @@ custom_font_awesome_icons: show_bar_on_mobile: type: bool default: false +plugin_outlet: + default: "above-site-header" + type: enum + choices: + - "above-site-header" + - "below-site-header"