diff --git a/content/index.blade.php b/content/index.blade.php index 836a87f..c5a520e 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -37,8 +37,8 @@ - @foreach($nachrichten as $nach) -
+ @foreach(filterByContentType($mdNachrichten, "News")->take(3) as $nach) +
@if ($nach->image) @@ -50,6 +50,9 @@ {{date('d.m.Y H:i', strtotime($nach->created_at))}} +

+ {!! isset($nach->additional_fields['4']) ? $nach->additional_fields['4'] : 'keine Angaben' !!} +

diff --git a/content/news.blade.php b/content/news.blade.php new file mode 100644 index 0000000..30fe3ea --- /dev/null +++ b/content/news.blade.php @@ -0,0 +1,66 @@ +@extends('template.'.config('settings.template').'.content.master') +@section('content') + + +
+
+ +
+

Unsere Verkaufsstandorte

+
+

{{$nach->title}}

+ + + {!! isset($nach->additional_fields['1']) ? $nach->additional_fields['1'] : 'keine Angaben' !!} + +

Bilder

+ +
+
+ @if ($nach->image) + Gallery image + @else + Gallery image + @endif +
+ +
+ +
+
+
+
+
+ +@stop