|
@@ -3,12 +3,7 @@
|
|
|
@section('content')
|
|
|
<div class="col-sm-8 blog-main">
|
|
|
@foreach ($posts as $post)
|
|
|
- <div class="blog-post">
|
|
|
- <h2 class="blog-post-title"><a href="/posts/{{ $post->id }}">{{ $post->title }}</a></h2>
|
|
|
- <p class="blog-post-meta">{{ $post->created_at }} by <a href="#">Mark</a></p>
|
|
|
-
|
|
|
- {{ $post->body }}
|
|
|
- </div><!-- /.blog-post -->
|
|
|
+ @include('posts.post')
|
|
|
@endforeach
|
|
|
|
|
|
<nav class="blog-pagination">
|