@extends('layout') @section('title', $query ? 'Suche: ' . $query . ' — SoulSize' : 'Suche — SoulSize') @section('description', 'Durchsuche den SoulSize Ratgeber für Plus-Size Mode.') @section('content')

@if($query) Ergebnisse für „{{ $query }}" @else Suche @endif

@if($query && strlen($query) >= 3) @if($articles instanceof \Illuminate\Pagination\LengthAwarePaginator && $articles->count())

{{ $articles->total() }} Artikel gefunden

@foreach($articles as $article) @php $cat = $article->category; $articleUrl = $cat ? ('/' . ($cat->parent ? $cat->parent->slug . '/' . $cat->slug : $cat->slug) . '/' . $article->slug) : '#'; @endphp
@if($article->image) {{ $article->title }} @else
article
@endif
@if($cat) {{ $cat->name }} @endif

{{ $article->title }}

{{ $article->excerpt }}

@endforeach
{{ $articles->links() }}
@else
search_off

Keine Artikel zu „{{ $query }}" gefunden.

Versuche einen anderen Suchbegriff.

@endif @endif
@endsection