diff --git a/content/contents/default.blade.php b/content/contents/default.blade.php index e0d917c..993c537 100644 --- a/content/contents/default.blade.php +++ b/content/contents/default.blade.php @@ -1,41 +1,36 @@ @extends('template.'.config('settings.template').'.content.master') +@section('head') + {{$content->title}} | {{config('settings.name')}} + +@stop @section('content') - - ← Back - + ← Back

{{$content->title}}

- - -

{{$content->desription}}

+

{{$content->description}}

- - -
- - + - -@stop - - - +@stop \ No newline at end of file diff --git a/content/index.blade.php b/content/index.blade.php index 822bd00..c5dcbf3 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -1,8 +1,15 @@ @extends('template.'.config('settings.template').'.content.master') +@section('head') + Home | {{config('settings.name')}} + +@stop @section('content') -

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

-

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

@@ -10,6 +17,7 @@ function initMap() { let items = {!! json_encode($contents) !!}; items = items.data; + console.log(items); const map = new google.maps.Map(document.getElementById("map"), { zoom: 5, @@ -30,5 +38,4 @@ } window.initMap = initMap; - @stop \ No newline at end of file diff --git a/content/master.blade.php b/content/master.blade.php index 918dd58..bc59397 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -1,15 +1,11 @@ - - - - - - + + @yield('head')