From a7a2d95d00f9cea3e084d0bbb5a40394d8ccb71e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Mon, 15 May 2023 21:30:18 +0200 Subject: [PATCH] . --- content/contents/default.blade.php | 41 ++++++++++++++++++++++++++++++ content/index.blade.php | 30 ++++++++-------------- content/master.blade.php | 21 +++++++++++++++ 3 files changed, 72 insertions(+), 20 deletions(-) create mode 100644 content/master.blade.php diff --git a/content/contents/default.blade.php b/content/contents/default.blade.php index e69de29..e0d917c 100644 --- a/content/contents/default.blade.php +++ b/content/contents/default.blade.php @@ -0,0 +1,41 @@ +@extends('template.'.config('settings.template').'.content.master') +@section('content') + + ← Back + +

{{$content->title}}

+ + +

{{$content->desription}}

+ + + +
+ + + +@stop + + + diff --git a/content/index.blade.php b/content/index.blade.php index 0c3679b..822bd00 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -1,26 +1,16 @@ - - - {{config('settings.name')}} +@extends('template.'.config('settings.template').'.content.master') +@section('content') - - - +

{{config('settings.name')}}

- - - -
- - + - - \ No newline at end of file + +@stop \ No newline at end of file diff --git a/content/master.blade.php b/content/master.blade.php new file mode 100644 index 0000000..918dd58 --- /dev/null +++ b/content/master.blade.php @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + @yield('content') + + + + +