@extends('layouts.master') @section('title', $post->seo_title) @section('meta_description', $post->seo_description) @section('canonical', $post->canonical_url ?: route('blog.show', $post)) @section('og_title', $post->seo_title) @section('og_description', $post->seo_description) @push('head') {!! \App\Support\SchemaMarkup::toScript(\App\Support\SchemaMarkup::blogPost($post)) !!} @endpush @section('content')
@if(session('success'))
{{ session('success') }}
@endif
@if($post->category) {{ $post->category->name }} @endif

{{ $post->title }}

By {{ $post->author?->name ?: 'HomesInKerala Editorial' }} · {{ $post->published_at?->format('d M Y') }} · {{ $post->reading_time }} min read · {{ number_format($post->views_count) }} views

@if($post->excerpt)

{{ $post->excerpt }}

@endif
{!! nl2br(e($post->content)) !!}
@if($post->tags->isNotEmpty())
@foreach($post->tags as $tag) {{ $tag->name }} @endforeach
@endif

Comments

@forelse($post->approvedComments as $comment)
{{ $comment->name }} {{ $comment->created_at->format('d M Y') }}

{{ $comment->comment }}

@empty

No comments yet.

@endforelse @if($post->allow_comments)
@csrf
@include('frontend.partials.recaptcha')
@endif
@if($relatedPosts->isNotEmpty())

Related Posts

@foreach($relatedPosts as $post)
@include('frontend.blog.partials.card')
@endforeach
@endif
@include('frontend.blog.partials.sidebar')
@endsection