@extends('frontend.layouts.mobile') @section('title', 'Blog - ' . app_name()) @push('head-area') @endpush @section('content') {{--

Blog

@if($data['posts'])
@foreach($data['posts'] as $post) @php $link = '/blog/'.$post->slug; $image = '/up_data/blog/'.$post->image_thumbnail; @endphp

blob-article

{{ $post->short_content }}

@endforeach
{!! $data['posts']->appends( request()->except('page') )->links() !!}
@else

Sorry!, no blog posts found.

@endif
--}}

Blog

@if(count($data['posts']) > 0)
@foreach($data['posts'] as $post) @php $link = '/blog/'.$post->slug; $image ='/up_data/blog/'.$post->image_thumbnail; @endphp
{{ $post->heading_content }}

@if (strlen($post->name) > 60) {!! implode(' ', array_slice(explode(' ', $post->name), 0, 8)) !!} {{ '. . . . .' }} @else {!! $post->name !!} @endif

{!! $post->name !!}

@if (strlen($post->short_content) > 300) {!! implode(' ', array_slice(explode(' ', $post->short_content), 0, 248)) !!} {{ '. . . . .' }} @else {!! $post->short_content !!} @endif

@endforeach
@else

Sorry!, no blog posts found.

@endif
@push('before-scripts') @endpush @endsection