{{-- Wiederverwendbarer SEO-Content-Block für Standalone-Tool-Seiten. Erwartet: $toolSlug (Pflicht), $toolName (für Überschriften). Liest config('tool_seo_content')[$toolSlug] (about / examples / faq) und rendert Wozu/Beispiele/FAQ + FAQPage-Schema. Selbst-enthalten (eigenes Styling), damit es in jeder Standalone-View funktioniert. Rendert nichts, wenn kein Content existiert. --}} @php $twSlug = $toolSlug ?? null; $twName = $toolName ?? ''; $twSeo = $twSlug ? (config('tool_seo_content', [])[$twSlug] ?? []) : []; $twFaq = $twSeo['faq'] ?? []; @endphp @if(!empty($twSeo['about']) || !empty($twSeo['examples']) || !empty($twFaq))
@if(!empty($twSeo['about']))

Wozu dient {{ $twName ? 'der '.$twName : 'dieses Tool' }}?

{!! $twSeo['about'] !!}
@endif @if(!empty($twSeo['examples']))

Beispiele

@endif @if(!empty($twFaq))

Häufige Fragen{{ $twName ? ' zum '.$twName : '' }}

@foreach($twFaq as $fq)
{{ $fq['q'] }}

{{ $fq['a'] }}

@endforeach
@endif
@if(!empty($twFaq)) @endif @endif