@extends('layout.ext-app') @php($body = $page->sections->get('body') ?? $page->sections->first()) @section('title', $page->title) @section('meta_description', $page->meta_description) @section('content') @include('site._pageHead', ['heading' => $body?->heading ?? $page->title, 'subheading' => $body?->subheading])
@foreach($page->sections as $section)
@if($section->heading && $section !== $body)

{{ $section->heading }}

@endif {{ \App\Cms\Cms::markdown($section->body) }}
@endforeach

Last updated {{ $page->updated_at?->format('j F Y') }}

@stop