@extends('frontend.layouts.master') @section('meta') @endsection @section('title') {{$post->title}} @endsection @section('main-content') @include('frontend.layouts.notification')
@php $tags=explode(',',$post->tags); @endphp @foreach($tags as $tag) {{$tag}} @endforeach

{{$post->title}}

  • 15th April, 2019
  • {{$post->author_info['name']}}

{!! ($post->description) !!}

{{--

If you live in New York City

--}} @if($post->quote)
{!! ($post->quote) !!}
@endif

Tags

@php $tags=explode(',',$post->tags); @endphp @foreach(Helper::postTagList('tags') as $tag) @endforeach {{-- --}}

Category

@foreach(Helper::postCategoryList('posts') as $cat) @endforeach {{-- --}}
{{-- @auth --}} {{--

Leave a Comment

@csrf
--}} {{-- @else

You need to Login for comment.

--}} {{-- @endauth --}} {{--

Comments ({{$post->allComments->count()}})

@include('frontend.pages.comment', ['comments' => $post->comments, 'post_id' => $post->id, 'depth' => 3])
--}}

Recommended

@foreach($recent_posts as $post)
@php $tags=explode(',',$post->tags); @endphp @foreach(Helper::postTagList('tags') as $tag) {{$tag->title}} @endforeach

{{$post->title}}

{{$post->created_at->format('d M , Y. D')}}
@endforeach
@endsection @push('styles') @endpush @push('scripts') @endpush