@extends('layouts.frontend') @section('title', $post->meta_title ?: $post->title . ' | ' . config('app.name')) @section('description', $post->meta_description ?: Str::limit(strip_tags($post->content), 160)) @section('canonical', route('blog.show', $post->slug)) @if($post->image) @section('og_image', asset($post->image)) @endif @section('content')
Blog @if($post->category) / {{ $post->category->name }} @endif

{{ $post->title }}

{{ $post->created_at->format('F d, Y') }}

@if($post->image) {{ $post->title }} @else
@endif
{!! $post->content !!}
@if($post->tags && count($post->tags) > 0)
@foreach($post->tags as $tag) #{{ $tag }} @endforeach
@endif
@if($relatedPosts->count() > 0)

Related Articles

@endif

Share This Article

Latest Articles

@endsection