@inject('pageRepository', 'App\Repositories\PageRepository') @inject('siteRepository', 'App\Repositories\SiteRepository') @inject('menuRepository', 'App\Repositories\MenuRepository') @inject('markdownHelper', 'App\Helpers\MarkdownHelper') @php $site = $siteRepository->findOne(); $menuItems = $menuRepository->findByName('main'); @endphp {{ title($page, $site) }} @include('partials.meta') @stack('head')
@yield('content')
@stack('scripts')