@inject ('setting', 'App\Models\Cms\Setting') {{ (isset($metaData) && !empty($metaData['meta_page_title'])) ? $metaData['meta_page_title'] : $setting::getValue('app', 'name') }} @if (isset($metaData)) @include('themes.books.partials.site.metadata') @endif @php $public = url('/'); @endphp
@include('themes.books.partials.site.header')
@if ($page['name'] == 'home')
@include('themes.books.partials.site.hero')
@endif @php $margin = ($page['name'] == 'home') ? '' : 'top-content-margin'; @endphp
@include('themes.books.pages.'.$page['name'])
@stack ('scripts') @include('themes.books.partials.cookie-info.index')