1
0
mirror of https://github.com/flarum/core.git synced 2025-01-17 22:29:15 +01: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 5f7291db39
commit 998bb5708e
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>