Skip to content

Commit

Permalink
FEATURE: add plugin outlet setting (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomerobot authored Oct 25, 2023
1 parent 23b5e82 commit 35b0c2d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
);

withPluginApi("1.14.0", (api) => {
api.renderInOutlet("above-site-header", BrandHeaderContainer);
api.renderInOutlet(settings.plugin_outlet, BrandHeaderContainer);
});
},
};
6 changes: 6 additions & 0 deletions settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 35b0c2d

Please sign in to comment.