diff --git a/config/view.php b/config/view.php index 22b8a18..1a27ed6 100755 --- a/config/view.php +++ b/config/view.php @@ -15,6 +15,7 @@ return [ 'paths' => [ resource_path('views'), + base_path('themes'), ], /* diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index 44811c5..d15f533 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -3,6 +3,28 @@
+@foreach($information as $info) @php $GLOBALS['themeName'] = $info->theme; @endphp @endforeach + + + +@if(theme('enable_custom_code') == "true" and theme('enable_custom_head') == "true")@include($GLOBALS['themeName'] . '.extra.custom-head')@endif + @include('layouts.analytics') @if(config('advanced-config.littlelink_title') != '' and env('HOME_URL') === '') @@ -102,6 +124,8 @@ +@if(theme('enable_custom_code') == "true" and theme('enable_custom_body') == "true")@include($GLOBALS['themeName'] . '.extra.custom-body')@endif + @if($info->theme != '' and $info->theme != 'default')