Created
April 30, 2017 15:33
-
-
Save Mombuyish/1f9051e016d760e2a5cb4981233525f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.app') | |
@section('content') | |
<div class="container"> | |
<div class="row"> | |
@foreach($posts as $post) | |
<div class="col-sm-6 col-md-4"> | |
<div class="thumbnail"> | |
<img src="{{ $post->name }}"> | |
<div class="caption"> | |
<h3 id="title">{{ $post->title }}</h3> | |
<p id="description">{{ str_limit($post->description) }}</p> | |
</div> | |
</div> | |
</div> | |
@endforeach | |
</div> | |
<div> | |
{!! $posts->links() !!} | |
</div> | |
</div> | |
@stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment