@extends('layouts.app') @section('title', '文章详情') @section('content')

{{ $parent->title }}

    @if ($parent->childrens->isNotEmpty()) @foreach ($parent->childrens as $child)
  • id==$child->id) class="active" @endif> {{ $child->title }} @if ($child->childrens->isNotEmpty()) @endif
  • @endforeach @endif
{{--
{{ $category->title }}
--}} 您当前所在位置:首页 @if ($parent->id!=$category->id) > {{ $parent->title }} @endif > {{ $category->title }}
{{ $article->title }}
发布时间:{{ $article->created_at->format('Y-m-d') }}
@if ($article->cover && $article->category_id==127)
@endif
{!! $article->content !!}
@endsection