@extends('layouts.app')

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

@section('content')

    <!-- 面包屑导航 -->
    @include('category.navigation')

    <!-- 内容 -->
    <div class="container">
        <div class="row">
            <!-- 左侧导航部分 -->
        @include('category.left')
        <!-- 右侧内容部分 -->
            <div class="col-xs-12 col-md-9">
                <div class="details-title">{{ $article->title }}</div>
                <div class="details-time">
                    <span>{{ $article->created_at->format('Y-m-d') }}</span> {{ $article->clicks }}人游览
                </div>
                <div class="details-cont">
                    {!! $article->content !!}
                </div>
            </div>
        </div>
    </div>
@endsection
