1
0
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:
Toby Zerner
2016-06-05 09:53:08 +09:30
parent 55f23cf49b
commit abecb15232
3 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
{!! array_get($forum, 'attributes.headerHtml') !!}
<div id="app" class="App">
<div id="app-navigation" class="App-navigation"></div>

View File

@@ -19,8 +19,6 @@
</head>
<body>
{!! array_get($forum, 'attributes.headerHtml') !!}
{!! $layout !!}
<div id="modal"></div>

View File

@@ -21,6 +21,8 @@
* - #composer
*/
?>
{!! array_get($forum, 'attributes.headerHtml') !!}
<div id="app" class="App">
<div id="app-navigation" class="App-navigation"></div>