{{ $story->title }}
@if($story->excerpt){{ $story->excerpt }}
@endif@extends('layouts.nova.content-layout') @php $storySummary = $story->excerpt ?: \Illuminate\Support\Str::limit(trim(strip_tags($safeContent)), 160); @endphp @push('head') @php $storyUrl = $story->canonical_url ?: route('stories.show', ['slug' => $story->slug]); $creatorName = $story->creator?->display_name ?: $story->creator?->username ?: 'Unknown creator'; $metaDescription = $story->meta_description ?: $storySummary; $metaTitle = $story->meta_title ?: $story->title; $ogImage = $story->og_image ?: $story->cover_url; $creatorFollowProps = $story->creator ? [ 'username' => $story->creator->username, 'following' => (bool) ($storySocialProps['state']['is_following_creator'] ?? false), 'followers_count' => (int) ($storySocialProps['creator']['followers_count'] ?? 0), ] : null; @endphp @if($ogImage) @endif @if($ogImage) @endif @endpush @section('page-hero')
@endsection @section('page-content'){{ $story->excerpt }}
@endif