@extends('frontend.layouts.app') @section('title', $data['posts']->title) @section('meta_description', $data['posts']->meta_description) @section('meta_url', URL::Current()) @section('page_title', $data['posts']->title) @section('product_description',$data['posts']->meta_description) @php if(app()->environment() == 'dev') $site = 'dev'; else $site = 'www'; @endphp @section('image','https://'.$site.'.germedusa.com/static/assets/images/og_imag_logo.png') @section('image:width', "1200") @section('image:height', "630") {{-- @section('meta_keywords', $data['posts']->meta_keywords) --}} @push('head-area') @endpush @section('content')
@include('includes.partials.bread-crumbs')

Blogs

@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) > 25) {!! 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