@extends('frontend.layout') @section('pageHeading') @if (!empty($pageHeading)) {{ $pageHeading->blog_page_title }} @endif @endsection @section('metaKeywords') @if (!empty($seoInfo)) {{ $seoInfo->meta_keyword_blog }} @endif @endsection @section('metaDescription') @if (!empty($seoInfo)) {{ $seoInfo->meta_description_blog }} @endif @endsection @section('content') @includeIf('frontend.partials.breadcrumb', [ 'breadcrumb' => $bgImg->breadcrumb, 'title' => $pageHeading ? $pageHeading->blog_page_title : '', ])
@if (count($blogs) == 0)

{{ __('No Blog Found') . '!' }}

@else
@foreach ($blogs as $blog)
image

{{ strlen($blog->title) > 40 ? mb_substr($blog->title, 0, 40, 'UTF-8') . '...' : $blog->title }}

{{ strlen(strip_tags($blog->content)) > 90 ? mb_substr(strip_tags($blog->content), 0, 90, 'UTF-8') . '...' : $blog->content }}

{{ __('Read More') }}
@endforeach
{{ $blogs->appends([ 'title' => request()->input('title'), 'category' => request()->input('category'), ])->links() }} @endif
@includeIf('frontend.journal.side-bar')
@endsection