@extends('layouts.site') @section('title', ($post->title ?? 'Blog') . ' - Visit Sri Lanka 360') @php $cover = !empty($post->cover_image) ? asset('storage/' . ltrim($post->cover_image, '/')) : asset('images/hero/tours-hero.jpg'); $date = $post->published_at ? \Carbon\Carbon::parse($post->published_at)->format('M d, Y') : null; // Optional: if you store gallery as array/json $gallery = collect($post->gallery ?? [])->filter()->values(); // For share links $currentUrl = url()->current(); @endphp @section('content')
{{-- HERO --}}
{{-- overlays --}}
VSL360 Blog @if($date) {{ $date }} @endif

{{ $post->title }}

@if(!empty($post->excerpt))

{{ $post->excerpt }}

@endif
{{-- CONTENT --}}
{{-- MAIN --}}
{{-- share row --}}
Article
{{-- ✅ Tiptap HTML output --}}
{!! $post->content !!}
{{-- Gallery (optional) --}} @if($gallery->count())

Moments from this story

@foreach($gallery as $g)
@endforeach
@endif {{-- CTA --}}
Plan your trip
Ready to explore Sri Lanka?

Browse our curated tours or build a custom trip in minutes — we’ll confirm everything via WhatsApp/email.

{{-- SIDEBAR --}}
@endsection @push('styles') @endpush