{{-- $site_details set in `SetSiteAttributes` middleware --}} @php($page = $page ?? null) {{-- multiple attributes (inc. title) are set by `SEO Pro` directive --}} @seo_pro("meta") @if (config("app.env") !== "production" || $page?->exclude_from_search || str_starts_with($site_details->mainDomain(), "staging.")) @endif @vite(["resources/js/site.js", "resources/css/site.css", $site_details->cssPath()]) @env(["production", "staging"]) @endenv @stack("scripts") @stack("styles") @env(["production", "staging"]) @endenv @if (config("app.info_banner_enabled", false) || config("app.env") !== "production") @if (config("app.env") !== "production") --- THIS IS THE {{ strtoupper(config("app.env")) }} SITE --- @else @endif @endif @include("partials.header")
! $site_details->hasSponsorshipNav(), "sponsorship-header" => $site_details->hasSponsorshipNav()]) > {{-- breadcrumbs --}} @if (isset($page) && $page->show_breadcrumbs) @tags("nav:breadcrumbs") @endif {{-- yield template --}} {!! $template_content !!}
@include("partials.footer.main") @include("partials.ipfilter")