@extends('frontend.layouts.master') @section('title', $post->title . ' — ' . (settings('name') ?: 'Travelio') . ' Blog') @section('meta', $post->excerpt ?: Str::limit(strip_tags((string) $post->body), 155)) @section('page', 'blog') @section('content') @include('frontend.components.page-hero', [ 'title' => $post->title, 'crumbs' => [___('frontend.blog_crumb') => route('front.blog'), Str::limit($post->title, 24) => null], ])
@php $cover = media_url($post->image, placeholder_image('wide')); @endphp {{ $post->title }}
{{ dateFormat($post->published_at ?: $post->created_at) }} {{ $post->author ?: ($post->authorUser->name ?? (settings('name') ?: 'Travelio') . ' Team') }} {{ $post->read_minutes ?: 4 }} {{ ___('frontend.min_read_suffix') }} @if($post->category){{ $post->category }}@endif
@if($post->excerpt)

{{ $post->excerpt }}

@endif @if($body) {{-- Markdown rendered server-side with raw HTML stripped. --}} {!! $body !!} @else

{{ ___('frontend.article_coming_soon') }}

@endif
@php $shareUrl = urlencode(route('front.blog.show', $post->slug)); @endphp
{{ ___('frontend.share') }}
@if($related->isNotEmpty())

{{ ___('frontend.related_reads') }}

@endif
{{ ___('frontend.plan_your_trip') }}

{{ ___('frontend.plan_trip_copy') }}

@if(moduleEnabled('tours')){{ ___('frontend.browse_packages') }}@endif {{ ___('frontend.talk_to_expert') }}
@endsection