{{-- Generic CMS-managed static page (privacy, terms, refund, cancellation…). Expects: $title, $body (already-rendered HTML or null), $page (CmsPage|null). --}} @extends('frontend.layouts.master') @section('title', $title . ' — ' . (settings('name') ?: 'Travelio')) @section('meta', $page->meta_description ?? $title) @section('page', 'cms-page') @section('content') @include('frontend.components.page-hero', ['title' => $title, 'crumbs' => [$title => null]])
@if($body) @if($page?->updated_at)

{{ ___('frontend.last_updated_prefix') }} {{ dateFormat($page->updated_at) }}

@endif {{-- Markdown rendered server-side with raw HTML stripped. --}} {!! $body !!} @else

{{ ___('frontend.unpublished_page') }}

{{ ___('frontend.contact_us_details') }}
@endif
@endsection