@extends($site->themeView('layout')) {{-- Recipe site home: search (keywords or ingredients), categories, featured, latest and quick recipes. --}} @section('content') {{ $site->localized('home_heading') ?: __('recipes.hero_search') }} @if ($site->localized('tagline')){{ $site->localized('tagline') }}@endif {{ __('recipes.search_placeholder') }} {{ __('recipes.hero_cta') }} @if ($categories->isNotEmpty()) @foreach ($categories as $category) {{ $category->name }} {{ $category->recipes_count }} @endforeach @endif @if ($featured->isNotEmpty()) {{ __('recipes.featured') }} @foreach ($featured as $recipe) @include($site->themeView('recipes.partials.card'), ['recipe' => $recipe, 'large' => true]) @endforeach @endif @if ($latest->isNotEmpty()) {{ __('recipes.latest') }} {{ __('recipes.see_all') }} → @foreach ($latest as $recipe) @include($site->themeView('recipes.partials.card'), ['recipe' => $recipe]) @endforeach @endif {{ __('recipes.by_ingredient') }} {{ __('recipes.by_ingredient_help') }} {{ __('recipes.ingredient') }} {{ __('recipes.hero_cta') }} @if ($quick->isNotEmpty()) {{ __('recipes.quick_title') }} {{ __('recipes.see_all') }} → @foreach ($quick as $recipe) @include($site->themeView('recipes.partials.card'), ['recipe' => $recipe]) @endforeach @endif @if ($latestPosts->isNotEmpty()) {{ __('recipes.from_blog') }} @foreach ($latestPosts as $post) {{ $post->title }}@if ($post->excerpt){{ $post->excerpt }}@endif @endforeach @endif @endsection
{{ $site->localized('tagline') }}
{{ __('recipes.by_ingredient_help') }}
{{ $post->excerpt }}