diff options
Diffstat (limited to 'resources/views/pages/news.blade.php')
-rw-r--r-- | resources/views/pages/news.blade.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/views/pages/news.blade.php b/resources/views/pages/news.blade.php index 44d0202..1e9b83b 100644 --- a/resources/views/pages/news.blade.php +++ b/resources/views/pages/news.blade.php @@ -4,10 +4,11 @@ @section('content') @foreach($news as $post) - <div class="well"> - <h3>{{ $post->title }}</h3> + <div class="well border border-secondary rounded p-2 mb-3"> + <h2>{{ $post->title }}</h2> <small>Published at {{ $post->created_at->format('Y-m-d') }}@isset ($post->author) by {{$post->author }}@endisset</small> - <p>{{ $post->text }}</p> + <hr class="bg-secondary"> + <div>{!! $post->text !!}</div> </div> @endforeach @endsection() |