@extends('layouts.layout-2') @section('content')

{{ __('home.news_archive_title') }}

{{ __('home.news_back_to_dashboard') }}
{{-- Aktuelle News --}} @if($currentNews)
{{ __('home.news_archive_current') }}
{{ $currentNews->getLang('title') }}
{{ $currentNews->getDisplayDateFormatted() }} {{ __('home.news_archive_current') }}

{{ $currentNews->getLang('teaser') }}

@if($currentNews->getLang('content'))

{!! $currentNews->getLang('content') !!}
@if($currentNews->hasFileLinks())
@foreach($currentNews->getFileLinks() as $linkData) {{ $linkData['label'] }} @endforeach
@endif
@endif
@endif {{-- Ältere News --}}
{{ __('home.news_archive_older') }}
@if($archiveNews->isEmpty())
{{ __('home.news_archive_empty') }}
@else @foreach($archiveNews as $news)
{{ $news->getLang('title') }}
{{ $news->getDisplayDateFormatted() }}

{{ $news->getLang('teaser') }}

@if($news->getLang('content'))

{!! $news->getLang('content') !!}
@if($news->hasFileLinks())
@foreach($news->getFileLinks() as $linkData) {{ $linkData['label'] }} @endforeach
@endif
@endif
@endforeach @endif @endsection @section('page-script') @endsection