@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'] ?? '' }}

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'] ?? '' }}

@endforeach

{{ $page['cta_title'] ?? 'Ready to put these ideas into practice?' }}

{{ $page['cta_text'] ?? 'Start your free trial and build your academy with Learnyst.' }}

@endsection