@extends('front.default.layout') @section('pagename','- All Rss') @section('meta-keywords', "$be->blogs_meta_keywords") @section('meta-description', "$be->blogs_meta_description") @section('breadcrumb-title', __('RSS')) @section('breadcrumb-subtitle', __('RSS Feeds')) @section('breadcrumb-link', __('Latest rss')) @section('content')
@if (count($posts) == 0)

{{__('NO FEED FOUND')}}

@else @foreach ($posts as $key => $post)
@php if (!empty($currentLang)) { $postDate = \Carbon\Carbon::parse($post->created_at)->locale("$currentLang->code"); } else { $postDate = \Carbon\Carbon::parse($post->created_at)->locale("en"); } $postDate = $postDate->translatedFormat('jS F, Y'); @endphp

{{__('By')}} {{__('Admin')}} | {{$postDate}}

{{convertUtf8(strlen($post->title)) > 40 ? convertUtf8(substr($post->title, 0, 40)) . '...' : convertUtf8($post->title)}}

{!! (strlen(strip_tags(convertUtf8($post->description))) > 100) ? substr(strip_tags(convertUtf8($post->description)), 0, 100) . '...' : strip_tags(convertUtf8($post->description)) !!}

{{__('Read More')}}
@endforeach @endif
@if ($posts->total() > 4)
@endif
@endsection