@php Theme::set('pageName', __('Blog')) @endphp

{{ $post->name }}

  • {{ $post->created_at->translatedFormat('M d, Y') }}
  • @if (!$post->categories->isEmpty()) @foreach($post->categories as $category) {{ $category->name }}@if (!$loop->last),@endif @endforeach @endif
  • {{ number_format($post->views) }} {{ __('Views') }}
{{ $post->name }}
{!! clean($post->content, 'youtube') !!}
{!! apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, theme_option('facebook_comment_enabled_in_post', 'yes') == 'yes' ? Theme::partial('comments') : null) !!}
@php $relatedPosts = get_related_posts($post->id, 2); @endphp @if ($relatedPosts->count())
{{ __('Related posts') }}
@foreach ($relatedPosts as $relatedItem)
{{ $relatedItem->name }}
{{ $relatedItem->name }}
  • {{ $relatedItem->created_at->translatedFormat('M d, Y') }}
  • {{ number_format($relatedItem->views) }} {{ __('Views') }}

{{ Str::limit($relatedItem->description, 110) }}

@endforeach
@endif