@extends('layouts.public')
@section('title', $page->seoTitle())
@section('meta_description', $page->seoDescription())
@section('meta_image', $page->seoImage())
@section('meta_keywords', $page->seoKeywords())
@section('content')
@if ($page->content)
@endif
{{-- Page-builder blocks (SOW 17.1). Unknown types fall back to rich text. --}}
@foreach ($page->activeBlocks as $block)
@includeFirst(['public.blocks.'.$block->type, 'public.blocks.text'], ['block' => $block])
@endforeach
@if (! $page->content && $page->activeBlocks->isEmpty())
@endif
@endsection