@extends('theme::layout')
@php
$rendered = $article->rendered();
$bodyHtml = $rendered['html'];
$toc = $rendered['toc'];
@endphp
@section('content')
@themeslot('article_top')
@if($article->hasCover() && ($coverUrl = $article->coverUrl()))
@endif
@if(count($toc) >= 2)
@endif
{!! $bodyHtml !!}
@if($article->tags->isNotEmpty())
@endif
@themeslot('article_bottom')
@endsection
{{ __('frontend.common.comments') }}
@forelse($article->comments as $comment){{ __('frontend.common.no_comments') }}
@endforelse @if(!$article->close_comment) @endif