@extends('front.layout.pages-layout') @section('pageTitle', isset($pageTitle) ? $pageTitle : 'Magicpotter') @php $featuredPath = post_image($post); $featuredFull = webp_or_original($featuredPath); $featuredSize = image_size($featuredFull); // 800-px-Version für Handys (wird beim ersten Aufruf einmalig erzeugt) $featuredSmall = ($featuredSize['width'] ?? 0) > 900 ? image_variant($featuredPath, 800) : null; $featuredSrcset = $featuredSmall && $featuredSmall !== $featuredFull ? $featuredSmall . ' 800w, ' . $featuredFull . ' ' . $featuredSize['width'] . 'w' : ''; $featuredSizes = '(min-width: 1200px) 730px, (min-width: 992px) 610px, (min-width: 768px) 690px, (min-width: 576px) 510px, calc(100vw - 30px)'; $postUrl = route('read_post', $post->slug); $updated = $post->updated_at && $post->updated_at->gt($post->created_at->copy()->addDay()) ? $post->updated_at : null; @endphp @push('preload') @endpush @section('content')
@include('front.partials.breadcrumbs', ['items' => array_filter([ ['Start', url('/')], $post->post_category ? [$post->post_category->name, route('category_posts', $post->post_category->slug)] : null, [$post->title, null], ])])

{{ $post->title }}

{{ $post->title }}
@if ($hasAffiliate || count($recommendations))

{{ config('affiliate.label') }}: Dieser Artikel enthält Affiliate-Links (mit * markiert). Kaufst du darüber ein, erhalte ich eine kleine Provision – der Preis bleibt für dich gleich. Mehr dazu

@endif @if (count($toc)) @endif
{!! $content !!}
@if (count($faq))

Häufige Fragen

@foreach ($faq as $item)
first) open @endif> {{ $item['question'] }}
{!! nl2br(e($item['answer'])) !!}
@endforeach
@endif @include('front.partials.affiliate-recommendations', ['items' => $recommendations])
@if ($post->author) @endif
@if ($prevPost)

« Vorheriger Artikel

@endif
@if ($nextPost)

Nächster Artikel »

@endif
@if ($relatedPosts->count())

@foreach ($relatedPosts as $related) @include('front.partials.post-list-item', ['post' => $related, 'headingTag' => 'h3', 'words' => 28]) @endforeach
@endif
@include('front.partials.sidebar', ['exceptId' => $post->id])
@endsection @push('scripts') @endpush