@extends('FrontEnd.Layouts.main') @section('pagetitle'){{ $article->meta_title==NULL? $article->meta_title . ' - ' . $article->getWriter->name:$article->meta_title }} | {{ __('messages.SITENAME') }}@endsection @section('title'){{ $article->meta_title==NULL? $article->meta_title . ' - ' . $article->getWriter->name:$article->meta_title }}@endsection @section('baseurl'){{ route('article_details', $article->slug) }}@endsection @section('logo'){{ $article->getWriter->image }}@endsection @section('image'){{ $article->getWriter->image }}@endsection @section('keywords'){{ $article->meta_keywords }}@endsection @section('description'){{ $article->meta_description==NULL? htmlspecialchars(trim(strip_tags(Str::substr($article->details, 0, 180)))):$article->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')

{{ $article->title }}

{{ $article->title }}
{!! $article->details !!} {!! $shareButtons !!} {{-- --}}
{{--
--}} @if ($article->allow_comments == 1)

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

  1. @forelse ($article->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
{{-- --}}
{{--
--}} @endsection @push('custom') @endpush