@extends('theme::layout') @php $rendered = $article->rendered(); $bodyHtml = $rendered['html']; $toc = $rendered['toc']; @endphp @section('content') @themeslot('article_top')

{{ $article->title }}

@if($article->hasCover() && ($coverUrl = $article->coverUrl()))
{{ $article->title }}
@endif @if(count($toc) >= 2) @endif
{!! $bodyHtml !!}
@if($article->tags->isNotEmpty()) @endif
@themeslot('article_bottom')

{{ __('frontend.common.comments') }}

@forelse($article->comments as $comment)
@include('theme::partials.comment-author') @if($comment->published_at) @endif
{!! $comment->content !!}
@empty

{{ __('frontend.common.no_comments') }}

@endforelse @if(!$article->close_comment)
@csrf
@endif
@endsection