{{-- Single story page — /stories/{slug} Uses ContentLayout. Includes: Hero, Article content, Author box, Related stories, Share buttons. --}} @extends('layouts.nova.content-layout') @php $hero_title = $story->title; @endphp @push('head') {{-- OpenGraph --}} @if($story->cover_url) @endif @if($story->published_at) @endif @if($story->updated_at) @endif {{-- Twitter / X card --}} @if($story->cover_url) @endif {{-- Article structured data (schema.org) --}} @endpush @section('page-content')
{{-- ── HERO ──────────────────────────────────────────────────────────────── --}} @if($story->cover_url)
{{ $story->title }}
@endif {{-- Meta bar --}}
@if($story->author) @if($story->author->avatar_url) {{ $story->author->name }} @endif {{ $story->author->name }} · @endif @if($story->published_at) · @endif {{ $story->reading_time }} min read · {{ number_format($story->views) }}
{{-- Tags --}} @if($story->tags->isNotEmpty())
@foreach($story->tags as $tag) #{{ $tag->name }} @endforeach
@endif {{-- ── ARTICLE CONTENT ──────────────────────────────────────────────────── --}}
@if($story->content) {!! $story->content !!} @else

Content not available.

@endif
{{-- ── SHARE BUTTONS ────────────────────────────────────────────────────── --}}

Share this story

{{-- ── AUTHOR BOX ───────────────────────────────────────────────────────── --}} @if($story->author)
@if($story->author->avatar_url) {{ $story->author->name }} @else
@endif

About the author

{{ $story->author->name }}

@if($story->author->bio)

{{ $story->author->bio }}

@endif
@if($story->author->user) More from this artist @endif All stories
@endif {{-- ── RELATED STORIES ─────────────────────────────────────────────────── --}} @if($related->isNotEmpty())

Related Stories

@endif {{-- Back link --}}
Back to Stories
@endsection