@extends('public/layout.app') @section('meta-tags') @if($newsCategory->seo!==null){{ ($newsCategory->seo->{'title_'.$app->getLocale()}) }}@endif @endsection @section('schema-org-web') @endsection @section('content')

{{ $newsCategory->{'title_' .$app->getLocale()} }}

@foreach($news as $item)

@if($item->url !== null) {{ $item->{'title_'.$app->getLocale()} }} @endif

{{ \Carbon\Carbon::parse($item->date_publication)->locale($app->getLocale())->translatedFormat('d F Y') }}

{!! trim(mb_substr(strip_tags( $item->{'description_'.$app->getLocale()} ),0,450),' \t\n\r\0\x0B"') !!}

@endforeach
@include('public.news.element_blog_sidebar_widget',[ 'translation'=>$translation, 'last_news'=>$newsCategory->news->take(5), 'allCategories'=>$allCategories, 'newsCategorySlug'=>$newsCategory->url->full_url ])
@endsection