@extends($activeTheme.'layouts.main') @section('title', $title ?? ___('Blog')) @section('content')

{{ $title ?? ___('Blog') }}

{{ ___('Recent Blog') }}
{!! ads_on_top() !!}

{{ ___('Recent Blog') }}

@if ($blogs->count() > 0)
@foreach ($blogs as $blog)
@if($settings->blog_banner) @endif
@php $categories = []; foreach ($blog->categories as $category){ $categories[] = $category->title; } @endphp {{ implode(', ', $categories) }}

{{ $blog->title }}

{{ text_shorting(strip_tags($blog->description), 100) }}

@endforeach
{{ $blogs->links($activeTheme.'pagination/default') }}
@else

:(

{{ ___('Sorry, we could not found the blog you are looking for!') }}

@endif
@include($activeTheme.'blog.sidebar', ['margin' => true])
{!! ads_on_top() !!} @endsection