@extends('site.layouts.app') @section('page_title', trimWords($blog->title, 65)) @section('seo') @php $seoTitle = isset($blog->title) && strlen($blog->title) > 0 ? $blog->title : ''; $seoDescription = isset($blog->summary) && strlen($blog->summary) > 0 ? trimWords($blog->summary, 120) : ''; $seoImage = $blog->fileUrl() ? $blog->fileUrl() : ''; $seoKeywords = preference('company_name').', '.__('eCommerce').', '.__('Multivendor').', '.__('Multivendor eCommerce'); @endphp @endsection @section('content')
{{-- left --}}
{{-- post cards --}}

{{ __('By') }} {{ isset($blog->user) && !empty(optional($blog->user)->name) ? optional($blog->user)->name : __('Guest Author') }} @if (isset($blog->created_at) && !empty($blog->created_at)) {{ __('On') }} {{ formatDateTime($blog->created_at) }} @endif

{{ $blog->title }}

{!! $blog->description !!}
@if (isset($blog->user) && !empty($blog->user))
{{ __('Image') }}

{{ __('Author') }}

{{ optional($blog->user)->name }}

{{ optional($blog->user)->designation }}

@if (optional($blog->user)->facebook) @endif @if (optional($blog->user)->instagram) @endif @if (optional($blog->user)->instagram) @endif

{{ optional($blog->user)->description }}

@endif @php $social = option('default_template_social', ''); @endphp
@if ($social['facebook'] || $social['whatsapp'] || $social['instagram'] || $social['instagram'] || $social['linkedin'])

{{ __('Share on') }}:

@endif
@if ($social['facebook']) @endif @if ($social['whatsapp']) @endif @if ($social['instagram']) @endif @if ($social['linkedin']) @endif @if ($social['pinterest']) @endif
@if (isset($relatedPosts) && !empty($relatedPosts) && count($relatedPosts) > 0)

{{__('Related posts')}}

@endif
{{-- right sidebar --}} @include('site.layouts.section.blog.sidebar')
@endsection