@php $canonicalUrl = route('public.pages.show', $contentPage->slug); $featuredImageUrl = $contentPage->featured_image ? asset('storage/' . $contentPage->featured_image) : null; @endphp @extends('layouts.public') @section('title', $contentPage->seo_title ?: $contentPage->title) @section('meta_description', $contentPage->seo_description ?: Str::limit(strip_tags((string) $contentPage->body), 155)) @push('head') @if ($featuredImageUrl) @endif @endpush @section('content')
@include('partials.site._breadcrumbs', ['crumbs' => [ ['label' => 'Home', 'url' => route('public.home')], ['label' => $contentPage->title], ]]) @if ($featuredImageUrl) {{ $contentPage->title }} @endif

{{ $contentPage->title }}

{!! $contentPage->body !!}
@if ($properties->isNotEmpty())
Featured

Properties mentioned in this guide

@foreach ($properties as $property) @include('partials.site._property-card', ['property' => $property, 'propertyTypes' => $propertyTypes]) @endforeach
@endif {{-- This page's own Footer SEO Content only — never any other page's (see partials.site._footer-seo's own doc comment). Plain text, line breaks preserved. --}} @include('partials.site._footer-seo', ['footerSeoContent' => $contentPage->footer_seo_content]) @endsection