@extends('layouts.newapp') @section('title', $post->seo_title ?: $post->title) @section('meta_description', $post->seo_description ?: \Illuminate\Support\Str::limit(strip_tags((string) ($post->excerpt ?: $post->content)), 160, '')) @section('meta_keywords', $post->seo_keywords ?? '') @section('og_image', $post->featured_image ?? '') @section('og_type', 'article') @section('json_ld') {!! json_encode([ '@context' => 'https://schema.org', '@type' => 'Article', 'headline' => $post->title, 'description' => \Illuminate\Support\Str::limit(strip_tags((string) ($post->seo_description ?: $post->excerpt ?: $post->content)), 300, ''), 'image' => $post->featured_image ? asset('storage/'.$post->featured_image) : asset('assets/images/logo.png'), 'datePublished' => $post->published_at, 'dateModified' => $post->updated_at, 'author' => ['@type' => 'Organization', 'name' => 'Kenncoat'], 'publisher' => ['@type' => 'Organization', 'name' => 'Kenncoat', 'logo' => ['@type' => 'ImageObject', 'url' => asset('assets/images/logo.png')]], 'mainEntityOfPage' => url()->current(), ], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT) !!} @endsection @section('content') {{-- ================= BREADCRUMB ================= --}} {{-- ================= BLOG DETAIL ================= --}}
{{-- ================= SOL TARAF ================= --}}
{{-- Kapak Görsel --}} @if($post->featured_image)
{{ $post->title }}
@endif {{-- Meta Bilgi --}}
  • Admin
  • {{ \Carbon\Carbon::parse($post->published_at)->translatedFormat('d F Y') }}
{{-- Başlık --}}

{{ $post->title }}

{{-- İçerik --}}
{!! $post->content !!}
{{-- Sosyal Paylaşım Alanı --}}
Paylaş:
{{-- ================= SAĞ SIDEBAR ================= --}}
{{-- Arama --}}
{{-- Son Yazılar --}}

Son Yazılar

@php $latestPosts = \App\Models\Post::where('status','published') ->orderByDesc('published_at') ->limit(3) ->get(); @endphp @foreach($latestPosts as $latest) @endforeach
@endsection