DEV: Add plugin outlets before and after the header content (#27530)
This commit is contained in:
parent
b2a9676f0b
commit
4ced8f80ac
|
@ -29,6 +29,10 @@ export default class Contents extends Component {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="contents">
|
<div class="contents">
|
||||||
|
<PluginOutlet
|
||||||
|
@name="header-contents__before"
|
||||||
|
@outletArgs={{hash topic=this.header.topic}}
|
||||||
|
/>
|
||||||
{{#if this.site.desktopView}}
|
{{#if this.site.desktopView}}
|
||||||
{{#if @sidebarEnabled}}
|
{{#if @sidebarEnabled}}
|
||||||
<SidebarToggle
|
<SidebarToggle
|
||||||
|
@ -72,6 +76,10 @@ export default class Contents extends Component {
|
||||||
@outletArgs={{hash topic=this.header.topic}}
|
@outletArgs={{hash topic=this.header.topic}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<PluginOutlet
|
||||||
|
@name="header-contents__after"
|
||||||
|
@outletArgs={{hash topic=this.header.topic}}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue