diff --git a/content/head.blade.php b/content/head.blade.php new file mode 100644 index 0000000..1ae22f1 --- /dev/null +++ b/content/head.blade.php @@ -0,0 +1,13 @@ + + + + + + + +@include('template.'.config('settings.template').'.includes.css') + + +@include('template.'.config('settings.template').'.includes.integrations') + + diff --git a/content/header.blade.php b/content/header.blade.php deleted file mode 100644 index 578c704..0000000 --- a/content/header.blade.php +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - @yield('stylesheet') - - @if(isset($title)) - {{$title}} - @else - {{ \Setting::get('name')}} - @endif - - @if(isset($description)) - - @else - - @endif - - - - - - - @if (\Route::currentRouteName() == 'nachrichten.get') - - - - - - - - - @if ($nach->image) - - - @else - @if ($nach->category->image) - - - @else - - - @endif - @endif - @endif - - @switch(\Setting::get('css', 1)) - @case(1) - - @break - - @case(2) - - @break - - @case(3) - - @break - - @case(4) - - @break - @endswitch - - @if(App::environment('production')) - - - @if (!empty(\Setting::get('facebook', ''))) - - - - - - @endif - - @if (!empty(\Setting::get('analytics', ''))) - - - - @endif - - @endif - - - - @if (!empty(\Setting::get('favicon_image', ''))) - - - - @endif - - @yield('styles') - - \ No newline at end of file diff --git a/content/master.blade.php b/content/master.blade.php index d8adce5..8b5595f 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -1,39 +1,17 @@ + - - - - {{ \Setting::get('name')}} - - - - @if (!empty(\Setting::get('favicon_image', ''))) - - - - @endif - - @include('template.'.\Setting::get('template', 'default').'.content.includes.css') - - @include('template.'.\Setting::get('template', 'default').'.content.includes.integrations') - +@include('template.'.config('settings.template').'.content.head') + -@include('template.'.\Setting::get('template', 'default').'.content.includes.header') - - - @yield('content') +@include('template.'.config('settings.template').'.includes.footer') +@include('template.'.config('settings.template').'.includes.scripts') - -@include('template.'.\Setting::get('template', 'default').'.content.includes.footer') - -@include('template.'.\Setting::get('template', 'default').'.content.includes.scripts') - - - + \ No newline at end of file