@extends('visitor.template.layout') @section('content')
{{ \Carbon\Carbon::parse($post->publish_date)->locale('id_ID')->translatedFormat('d F, Y') }} | {{ \Carbon\Carbon::parse($post->publish_date)->diffForHumans() }}
{{ $post->user->name }}
{{-- {{ $post->title }}
--}}
{{--
{!! $post->description !!}
--}}
{!! $post->content !!}
Keyword
@foreach (explode(',', $post->keyword) as $item) {{ $item }} @endforeach
Tag
@foreach (explode(',', $post->tag) as $item) {{ $item }} @endforeach

Another Article

@if ($allPost && count($allPost) > 0) @foreach ($allPost as $item)
{{ Str::trim($item->name) }} {{ Str::limit($item->description, 60) }}
@endforeach @else
No Article Found
@endif
@endsection @section('script') @endsection