Dieselbe Liste trägt die öffentliche Seite. Medien bleiben privat, Seiten können mehreren Säulen zugeordnet sein. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
802 B
PHP
23 lines
802 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
|
|
@if ($page->path === '/' && ($themes ?? collect())->isNotEmpty())
|
|
<section class="block">
|
|
<h2>Themenbereiche</h2>
|
|
@include('public.themes.list', ['themes' => $themes])
|
|
</section>
|
|
@endif
|
|
@endsection
|