diff --git a/resources/views/layouts/index.blade.php b/resources/views/layouts/index.blade.php index 896fc51..31fffc1 100644 --- a/resources/views/layouts/index.blade.php +++ b/resources/views/layouts/index.blade.php @@ -3,6 +3,7 @@ + @yield('pageTitle', config('app.name')) @vite('resources/css/app.css') @vite('resources/js/app.js') diff --git a/resources/views/page/area.blade.php b/resources/views/page/area.blade.php index 888d8a9..12a889a 100644 --- a/resources/views/page/area.blade.php +++ b/resources/views/page/area.blade.php @@ -1,5 +1,8 @@ +@section('pageTitle') + Places in {{ $area->getFullName() }} +@endsection + @extends('layouts.index') -

@@ -14,10 +17,6 @@ @endif

- - - -
diff --git a/resources/views/page/overview.blade.php b/resources/views/page/overview.blade.php index 05c5f6e..fb279ef 100644 --- a/resources/views/page/overview.blade.php +++ b/resources/views/page/overview.blade.php @@ -1,5 +1,9 @@ @extends('layouts.index') +@section('pageTitle') + {{ ucfirst(Fallback::resolve($type->plural)) }} in {{ Fallback::resolve($area->names) }} +@endsection + @section('content')

diff --git a/resources/views/page/place.blade.php b/resources/views/page/place.blade.php index b6ab06b..d6876f4 100644 --- a/resources/views/page/place.blade.php +++ b/resources/views/page/place.blade.php @@ -1,5 +1,9 @@ @extends('layouts.index') +@section('pageTitle') + {{ Fallback::field($main->tags, 'name') }} - {{ Fallback::resolve($type->name) }} in {{ $branches[0]->area->getFullName() }} +@endsection + @section('content')