@extends('user/app') @section('bg-img',asset('user/img/home-bg.jpg')) @section('title','My Blog') @section('subheading','Here is my blog') @section('main-content')
@foreach($posts as $post)

{{ $post->title }}

{{ $post->subtitle }}

@endforeach
{{ $posts->links() }}

@endsection