@extends('landing.layout') @section('title', $blog->title) @section('content')

{{ $blog->title }}

  • Author: {{ $blog->user->name ?? 'Admin' }}
  • Date: {{ $blog->created_at->format('M d, Y') }}
  • @if ($blog->category)
  • Category: {{ $blog->category->name }}
  • @endif
  • Views: {{ $blog->views ?? 0 }}
@if ($blog->image) {{ $blog->title }} @endif
@if ($blog->short_description)

{{ $blog->short_description }}

@endif
{!! $blog->long_description !!}
@if ($blog->seo_keyword)
Tags:
@foreach (explode(',', $blog->seo_keyword) as $tag) {{ trim($tag) }} @endforeach
@endif
Share this article:
@if ($blog->allow_comment)
Leave A Comment:
@endif
@include('landing.artikel.sidebar')
@if ($relatedBlogs->count() > 0)

Artikel Lainnya

Baca artikel menarik lainnya yang masih berhubungan dengan topik ini.

@foreach ($relatedBlogs as $related)
@if ($related->image) {{ $related->title }} @else
@endif @if ($related->category)
{{ $related->category->name }}
@endif
{{ $related->created_at->format('M d, Y') }} {{ $related->views }}
{{ Str::limit($related->title, 50) }}
@endforeach
@endif
@endsection @push('script') @endpush