blob: 5e4453f054b3512a3216aef5ab91a351823d63d5 (
plain) (
tree)
|
|
@extends('layouts.app')
@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()
|