@extends('layout.front.master') @section('title', ($post->title ?? 'Post') . ' | ' . config('site.modules.blog.page_header.title', 'Blog')) @section('description', strip_tags(\Illuminate\Support\Str::limit($post->description ?? $post->content ?? '', 160))) @php $postImage = $post->header ? (filter_var($post->header, FILTER_VALIDATE_URL) ? $post->header : asset($post->header)) : null; @endphp @section('og_title', ($post->title ?? 'Post') . ' | ' . config('site.name')) @section('og_description', strip_tags(\Illuminate\Support\Str::limit($post->description ?? $post->content ?? '', 200))) @section('og_image', $postImage ?? brand_og_image()) @section('og_type', 'article') @section('og_url', url()->current()) @section('twitter_title', ($post->title ?? 'Post') . ' | ' . config('site.name')) @section('twitter_description', strip_tags(\Illuminate\Support\Str::limit($post->description ?? $post->content ?? '', 200))) @section('twitter_image', $postImage ?? brand_twitter_image()) @section('content') {{-- Dynamic Header --}} @include('modules.blog.frontend.partials.dynamic-header')
{{-- Post Content --}}
{{-- Post Image --}} @if($postImage)
{{ $post->title }}
@endif {{-- Meta --}}
@if($post->category) {{ $post->category->name }} @endif @if($post->user) {{ $post->user->name ?? '' }} @endif
{{-- Title --}}

{{ $post->title }}

{{-- Content --}}
{!! $post->content !!}
{{-- Share --}}
{{ __('Compartir') }}:
@if(config('site.social_media.whatsapp.active')) @endif
{{-- Back to blog --}}
{{-- Sidebar --}}
@endsection