From 7af18c65418027a4cc1cb9fe71f11489029c3912 Mon Sep 17 00:00:00 2001 From: Mateja Date: Fri, 6 Nov 2020 17:25:22 +0100 Subject: GalleryController, better news, using Bootstrap. --- resources/views/pages/news.blade.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'resources') diff --git a/resources/views/pages/news.blade.php b/resources/views/pages/news.blade.php index 1e9b83b..5858889 100644 --- a/resources/views/pages/news.blade.php +++ b/resources/views/pages/news.blade.php @@ -4,11 +4,12 @@ @section('content') @foreach($news as $post) -
-

{{ $post->title }}

- Published at {{ $post->created_at->format('Y-m-d') }}@isset ($post->author) by {{$post->author }}@endisset -
-
{!! $post->text !!}
+
+
+

{{ $post->title }}

+
Published at {{ $post->created_at->format('Y-m-d') }}@isset ($post->author) by {{$post->author }}@endisset
+
{!! $post->text !!}
+
@endforeach @endsection() -- cgit v1.2.3