@if(\Auth::check() && \Auth::user()->canManageBinshopsBlogPosts())
    <a href="{{$post->edit_url()}}" class="btn btn-outline-secondary btn-sm pull-right float-right">Edit
        Post</a>
@endif

<div class="news-box">

    <div class="new-thumb"><a href="#"><i class="fas fa-link"></i></a> <span class="cat c4">BUSINESS</span>
        <?=$post->image_tag("medium", false, 'd-block mx-auto'); ?>
    </div>
    <div class="new-txt">
        <ul class="news-meta">
            <li>{{$post->post->posted_at->diffForHumans()}}</li>
            <li>237 Comments</li>
        </ul>
        <h4></h4>
        <h6>{{$post->subtitle}}</h6>


    {!! $post->post_body_output() !!}

    {{--{{dd($post)}}--}}
    <!--Post Tags Start-->
        <div class="single-post-tags"><a href="#">GDP</a> <a href="#">ISP</a> <a href="#">Growth</a>
            <a href="#">Africa</a> <a href="#">Development</a> <a href="#">Democratic</a> <a
                    href="#">Press</a></div>
        <!--Post Tags End-->
        <!--Post Author Start-->
        <div class="about-post-author">
            <img src="{{asset('assets/images/dvaa1.jpg')}}" alt="">
            <h5> @includeWhen($post->author,"binshopsblog::partials.author",['post'=>$post])</h5>
            <p>{!! $post->post->author->name !!} is a Writer, Educator, Business Developer.<br>He
                has written several life changing articles and Videos.</p>
            <a href="javascript:void(0);">See Some here</a>
        </div>

        <!--Post Author End-->
        @includeWhen($post->categories,"binshopsblog::partials.categories",['post'=>$post])








