@extends('website.layouts.app') @section('title', ($page['title'] ?? 'Blogs') . ' – ' . config('website.brand')) @section('meta_description', $page['summary'] ?? '') @section('content') @php $cta = config('website.cta'); $brand = config('website.brand'); $posts = $page['posts'] ?? []; $featured = collect($posts)->firstWhere('featured', true) ?? ($posts[0] ?? null); @endphp @if(!empty($page['eyebrow'])) {{ $page['eyebrow'] }} @endif {{ $page['title'] }} {{ $page['summary'] }} {{ $page['caption'] ?? 'Resources' }} Ideas to grow your course business {{ $page['body'] }} @if($featured) @if(!empty($featured['tag'])) {{ $featured['tag'] }} @endif {{ $featured['title'] }} {{ $featured['excerpt'] ?? '' }} @if(!empty($featured['author'])){{ $featured['author'] }}@endif @if(!empty($featured['date'])){{ $featured['date'] }}@endif @if(!empty($featured['read'])){{ $featured['read'] }}@endif Read article → @endif @foreach($posts as $post) @if($featured && ($post['slug'] ?? '') === ($featured['slug'] ?? '')) @continue @endif @if(!empty($post['tag'])) {{ $post['tag'] }} @endif {{ $post['title'] }} {{ $post['excerpt'] ?? '' }} @if(!empty($post['date'])){{ $post['date'] }}@endif @if(!empty($post['read'])){{ $post['read'] }}@endif @endforeach {{ $page['cta_title'] ?? 'Ready to put these ideas into practice?' }} {{ $page['cta_text'] ?? 'Start your free trial and build your academy with Learnyst.' }} {{ $page['cta_primary_label'] ?? 'Start Free Trial' }} {{ $page['cta_secondary_label'] ?? 'Book a Demo' }} @endsection
{{ $page['eyebrow'] }}
{{ $page['summary'] }}
{{ $page['caption'] ?? 'Resources' }}
{{ $page['body'] }}
{{ $featured['excerpt'] ?? '' }}
{{ $post['excerpt'] ?? '' }}
{{ $page['cta_text'] ?? 'Start your free trial and build your academy with Learnyst.' }}