@extends('layouts.app') @section('content')
{{-- @include('home.photo-partial', ['tags' => $tags])--}} @include('home.blog-partial') @foreach($posts as $post)

{{$post->title}}

{{array_slice(explode("\r\n", $post->content), 0, 1)[0]}}
Continue reading...
Blog Entry
{{$post->created_at->format('Y-m-d')}}
@if(sizeof($post->tags) > 0) @foreach($post->tags as $tag) {{$tag->name}}, @endforeach @else No tags @endif

@endforeach
@include('layouts.sidebar')
@endsection