aboutsummaryrefslogblamecommitdiff
path: root/resources/views/pages/news.blade.php
blob: 44d020287ee16b72a0dcebddeb9e33f4368d47ce (plain) (tree)
1
2
3
4
5
6
7
8
9

                       

                         
                   


                                       
                                                                                                                                     
                                    

               
             
@extends('layouts.app')

@section('title', 'News')

@section('content')
    @foreach($news as $post)
        <div class="well">
            <h3>{{ $post->title }}</h3>
            <small>Published at {{ $post->created_at->format('Y-m-d') }}@isset ($post->author) by {{$post->author }}@endisset</small>
            <p>{{ $post->text }}</p>
        </div>
    @endforeach
@endsection()