@extends('frontend.layouts.app') @section('title') {{$module_name}} @endsection @section('content') Blog Details home Blog Details {{ $post->name }} By {{ $post->author ?? 'Admin' }} - {{ \Carbon\Carbon::parse($post->created_at)->format('d M, Y') }} - {{ $post->category->name ?? 'General' }} {!! $post->description !!} @if(!empty($post->content)) {!! $post->content !!} @endif Search Search Categories @foreach($categories as $cat) {{ $cat->name }} @endforeach Popular Posts @foreach($popularPosts as $key => $p) {{ $p->name }} {{ \Carbon\Carbon::parse($p->created_at)->format('d M, Y') }} @endforeach Recent Posts @foreach($recentPosts as $key => $r) {{ $r->name }} {{ \Carbon\Carbon::parse($r->created_at)->format('d M, Y') }} @endforeach @endsection @push ("after-style") @endpush @push ("after-scripts") @endpush
{!! $post->description !!}
{!! $post->content !!}
{{ \Carbon\Carbon::parse($p->created_at)->format('d M, Y') }}
{{ \Carbon\Carbon::parse($r->created_at)->format('d M, Y') }}