DEV: Add plugin outlets before and after the header content (#27530)

This commit is contained in:
Sérgio Saquetim 2024-06-19 20:45:54 -03:00 committed by GitHub
parent b2a9676f0b
commit 4ced8f80ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,10 @@ export default class Contents extends Component {
<template>
<div class="contents">
<PluginOutlet
@name="header-contents__before"
@outletArgs={{hash topic=this.header.topic}}
/>
{{#if this.site.desktopView}}
{{#if @sidebarEnabled}}
<SidebarToggle
@ -72,6 +76,10 @@ export default class Contents extends Component {
@outletArgs={{hash topic=this.header.topic}}
/>
</div>
<PluginOutlet
@name="header-contents__after"
@outletArgs={{hash topic=this.header.topic}}
/>
</div>
</template>
}