Skip to content

Commit 882bafc

Browse files
committed
Support specifying HTML sections as includes
Optimally, this would support both Blade and Html files, but we don't have an HTML include (yet), and then the coalesce chain would become so long that we'd want to move it to a helper method. So maybe for later.
1 parent e047837 commit 882bafc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/framework/resources/views/layouts/head.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
@endif
2020

2121
{{-- If the user has defined any custom head tags, render them here --}}
22-
{!! config('hyde.hooks.head') !!}
22+
{!! \Hyde\Support\Includes::blade('meta', config('hyde.hooks.head')) !!}

packages/framework/resources/views/layouts/scripts.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ function toggleTheme() {
2424
@stack('scripts')
2525

2626
{{-- If the user has defined any custom scripts, render them here --}}
27-
{!! config('hyde.hooks.scripts') !!}
27+
{!! \Hyde\Support\Includes::blade('scripts', config('hyde.hooks.scripts')) !!}

0 commit comments

Comments
 (0)