@extends('layouts.admin') @section('title', 'View News Post') @section('content_header')

View News Post

@stop @section('content')

{{ $post->title }}

Category: {{ $post->category->name ?? 'N/A' }}

Published: {{ $post->created_at->format('M d, Y h:i A') }}


@if($post->image)
{{ $post->title }}
@endif
Description

{{ $post->description }}

Content
{!! $post->content !!}
Basic SEO Information
Meta Title:
{{ $post->meta_title ?: 'Not set' }}
Meta Description:
{{ $post->meta_description ?: 'Not set' }}
Robots Content:
{{ $post->robots_content ?: 'index, follow' }}
Canonical URL:
@if($post->canonical_url) {{ $post->canonical_url }} @else Not set @endif
Open Graph Tags
OG Title:
{{ $post->og_title ?: 'Not set' }}
OG Description:
{{ $post->og_description ?: 'Not set' }}
OG Image:
@if($post->og_image) {{ Str::limit($post->og_image, 50) }} @else Not set @endif
Twitter Card Tags
Twitter Title:
{{ $post->twitter_title ?: 'Not set' }}
Twitter Description:
{{ $post->twitter_description ?: 'Not set' }}
Twitter Image:
@if($post->twitter_image) {{ Str::limit($post->twitter_image, 50) }} @else Not set @endif
Custom Scripts
Header Scripts:
@if($post->header_scripts) {{ strlen($post->header_scripts) }} characters
{{ $post->header_scripts }}
@else No scripts added @endif
Body Scripts:
@if($post->body_scripts) {{ strlen($post->body_scripts) }} characters
{{ $post->body_scripts }}
@else No scripts added @endif
@stop