@extends('FrontEnd.Layouts.main') @section('pagetitle'){{ $news->meta_title==NULL?$news->title:$news->meta_title }} - {{ __('messages.SITENAME') }}@endsection @section('title'){{ $news->meta_title==NULL?$news->title:$news->meta_title }}@endsection @section('baseurl'){{ route('news_cat_details', [$news->getCategory->slug, $news->slug]) }}@endsection @section('logo'){{ $news->image }}@endsection @section('image'){{ $news->image }}@endsection @section('keywords'){{ $news->tags }}@endsection @section('description'){{ $news->meta_description==NULL?htmlspecialchars(trim(strip_tags(Str::substr($news->details, 0, 250)))):$news->meta_description }}@endsection @section('content') @if (Session::has('success'))
{{ Session::get('success') }}
@endif @if (Session::has('error'))
{{ Session::get('error') }}
@endif
@include('FrontEnd.Layouts.breadcrumb')
{{ $news->title }}

{{ $news->title }}

{{--

{{ $news->title }}

--}} {!! $news->details !!} {!! $shareButtons !!}
    @if ($news->tags == '') @else @forelse (explode(',',$news->tags) as $tag)
  • {{ '#' . $tag }}
  • @empty @endforelse @endif
@if ($news->allow_comments == 1)

{{ count($news->comments) }} {{ __('messages.COMMENTS') }}:

  1. @forelse ($news->comments as $comment) @empty @endforelse {{--
    1. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

    --}}

{{ __('messages.ADD_YOUR_COMMENT') }}

@csrf

{{-- Your email address will not be published. Required fields are marked * --}}

{{-- --}}

@else @endif
@include('FrontEnd.Layouts.left')

{{ __('messages.RELATED') }}

@endsection @push('custom') @endpush