@inject('type', 'Type') @extends('template.'.config('settings.template').'.content.master') @section('head') @stop @section('content')

{{config('settings.name')}}

{{config('settings.description')}}

{{config('settings.name')}}

{{config('settings.description')}}

{{config('settings.name')}}

{{config('settings.description')}}

@if($type->get("Ankündigung")->status) @php($ankundigung = filterByContentType("Ankündigung")) @if($ankundigung->isNotEmpty())
@foreach($ankundigung->take(3) as $content) @endforeach
@endif @endif @if($type->get("Leistungen")->status) @php($leistungen = filterByContentType("Leistungen")) @if($leistungen->isNotEmpty())

Leistungen

@foreach($leistungen->take(3) as $contentIndex => $content)

{{$content->title}}

{{$content->kurzbeschreibung}}

@endforeach @if($leistungen->count() > 3) @endif
@endif @endif @if($type->get("News")->status) @php($news = filterByContentType("News")) @if($news->isNotEmpty())

Aktuelles

@foreach($news->take(3) as $index => $content)

{{$content->title}}

{{ $content->updated_at->diffForHumans() }}
{!! Str::limit($content->vorschau, 280) !!}
@endforeach @if($news->count() > 3) @endif
@endif @endif @if($type->get("Produkte")->status) @php($products = filterByContentType("Produkte")) @if($products->isNotEmpty())

Produkte

@foreach($products->take(3) as $content)

{{$content->title}}

{{$content->updated_at->diffForHumans()}}
{{$content->kurzbeschreibung}}
@endforeach @if($products->count() > 3) @endif
@endif @endif

Kontakt


{{$_legal_name}}
{{$_legal_address}}
{{$_legal_zip_code}} {{$_legal_city}}

@stop @section('scripts') @stop