@php $title = ___($blog, 'title'); $author = 'EpoxyArt'; if ($blog->author) { $author = trim($blog->author->localizedName()) ?: 'EpoxyArt'; } $image = $blog->imageUrl(); $shareUrl = schema_absolute_url('/blog/' . $blog->id); $keywords = array_filter(array_map('trim', explode(',', ___($blog, 'meta_keywords') ?: ''))); @endphp @extends('layouts.public') @section('meta') {{ $title }} - {{ config('app.name') }} @if($image) @endif @push('json_ld') @include('includes.json-ld-graphs', [ 'graphs' => [ schema_breadcrumb([ ['name' => __('public.breadcrumb.home'), 'url' => schema_absolute_url('/')], ['name' => __('public.blog.title'), 'url' => schema_absolute_url('/blog')], ['name' => $title, 'url' => schema_absolute_url('/blog/' . $blog->id)], ]), ], ]) @endpush @endsection @section('content') @include('includes.corano-breadcrumb', [ 'crumbs' => [ ['label' => __('public.blog.title'), 'url' => __url('/blog')], ['label' => $title], ], ])
@include('pages.blog.partials.sidebar', [ 'recentPosts' => $recentPosts ?? [], 'popularPosts' => $popularPosts ?? [], 'showPopular' => true, ])
@if($image)
{{ $title }}
@endif

{{ $title }}

  • {{ $author }}
  • {{ $blog->created_at?->format('d/m/Y') }}
{!! rich_html(___($blog, 'description')) !!}
@if(isset($relatedPosts) && $relatedPosts->count()) @endif @endsection @push('scripts') @endpush