@extends('layouts.app')

@section('title', '文章详情')

@section('content')
    <!-- mian -->
    <div class="container child">
        <div class="wzxq">
            <h3>{{ $article->title }}</h3>
            <p>发表时间：{{ $article->created_at }}</p>
        </div>
        <div class="ritText">
{{--            @if ($article->cover)--}}
            {{--                <img src="{{ $article->cover_path }}">--}}
            {{--            @endif--}}
            <p>
                {!! $article->content !!}
            </p>
        </div>
        @if ($next)
            <div class="xyp">
                <b>下一篇</b><a href="{{ $next->link }}">{{ $next->title }}</a>
            </div>
        @endif

    </div>
    <!-- end mian -->
@endsection
