mirror of
https://github.com/flarum/core.git
synced 2025-07-18 23:31:17 +02:00
Display header HTML in layout rather than app wrapper
This is so a custom layout can opt-out of displaying header HTML (e.g. embed extension)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
{!! array_get($forum, 'attributes.headerHtml') !!}
|
||||
|
||||
<div id="app" class="App">
|
||||
|
||||
<div id="app-navigation" class="App-navigation"></div>
|
||||
|
@@ -19,8 +19,6 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{!! array_get($forum, 'attributes.headerHtml') !!}
|
||||
|
||||
{!! $layout !!}
|
||||
|
||||
<div id="modal"></div>
|
||||
|
@@ -21,6 +21,8 @@
|
||||
* - #composer
|
||||
*/
|
||||
?>
|
||||
{!! array_get($forum, 'attributes.headerHtml') !!}
|
||||
|
||||
<div id="app" class="App">
|
||||
|
||||
<div id="app-navigation" class="App-navigation"></div>
|
||||
|
Reference in New Issue
Block a user