From 06b2bd704b84151bc7873d8a0d8e847fb1ea6f29 Mon Sep 17 00:00:00 2001 From: NH Gooi Date: Tue, 15 Jul 2025 15:49:40 +0200 Subject: [PATCH] Add static page view --- resources/views/static.blade.php | 96 ++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100755 resources/views/static.blade.php diff --git a/resources/views/static.blade.php b/resources/views/static.blade.php new file mode 100755 index 00000000..2e452d27 --- /dev/null +++ b/resources/views/static.blade.php @@ -0,0 +1,96 @@ +@extends('layouts/full') + +@section('title') + {{ $page->title }} +@endsection + +@section('page_class')news_post post_container @endsection + +{{-- @section('breadcrumb') + +@endsection + --}} +@section('content') + +
+ + + +
+
+ @if($page->images) + @if(count($page->images) == 1) +
+ + {{$page->images[0]->title}} + +
+ {{$page->images[0]->title}} + @if(isset($page->images[0]->author)) + {{$page->images[0]->author}} + @endif +
+
+ @else + +
+
    + @foreach($page->images as $image) +
  • + + + {{$image->title}} + +
  • +
+ @endforeach +
+ @endif + @endif + +
+

{!!$page->content!!}

+
+ + +
+
+
+ +@endsection \ No newline at end of file