17 lines
568 B
PHP
17 lines
568 B
PHP
@extends('layouts.site')
|
|
|
|
@section('title', $documentTitle)
|
|
@section('description', $documentDescription ?? '')
|
|
@section('canonical', $page->publicUrl())
|
|
|
|
@section('content')
|
|
@if ($preview)
|
|
<p class="preview-banner" role="status">Vorschau einer unveröffentlichten Revision. Die öffentliche Seite bleibt unverändert.</p>
|
|
@endif
|
|
@foreach ($revision->blocks as $block)
|
|
<section class="block">
|
|
@include('public.blocks.'.$block['type'], ['block' => $block, 'first' => $loop->first])
|
|
</section>
|
|
@endforeach
|
|
@endsection
|