@extends('frontend.layout') @section('pageHeading') @if (!empty($pageHeading)) {{ $pageHeading->blog_page_title ?? 'Blog' }} @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->blog_page_title ?? 'Blog'])
@if (count($blogs) == 0)

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

@else @foreach ($blogs as $blog)
image
{{ $blog->categoryName }}

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

  • {{ date_format($blog->created_at, 'M d, Y') }}

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

@endforeach @endif
@if (count($blogs) > 0) {{ $blogs->appends([ 'title' => request()->input('title'), 'category' => request()->input('category') ])->links() }} @endif
@if (!empty(showAd(3)))
{!! showAd(3) !!}
@endif
@includeIf('frontend.journal.side-bar')
@endsection @section('script') @endsection