wip: article AI polish, category SEO fields, cover generator, membership plan seeder
This commit is contained in:
@@ -34,6 +34,12 @@
|
||||
</p>
|
||||
</header>
|
||||
|
||||
@if($article->hasCover() && ($coverUrl = $article->coverUrl()))
|
||||
<figure class="post__cover">
|
||||
<img src="{{ $coverUrl }}" alt="{{ $article->title }}" itemprop="image">
|
||||
</figure>
|
||||
@endif
|
||||
|
||||
@if(count($toc) >= 2)
|
||||
<nav class="post__toc" aria-labelledby="post-toc-heading">
|
||||
<h2 id="post-toc-heading" class="post__toc-title">{{ __('frontend.article.toc') }}</h2>
|
||||
@@ -70,7 +76,7 @@
|
||||
@forelse($article->comments as $comment)
|
||||
<article class="comment">
|
||||
<header class="comment__meta">
|
||||
<strong class="comment__author">{{ $comment->author }}</strong>
|
||||
@include('theme::partials.comment-author')
|
||||
@if($comment->published_at)
|
||||
<time datetime="{{ $comment->published_at->toIso8601String() }}">
|
||||
{{ $comment->published_at->format('Y-m-d H:i') }}
|
||||
|
||||
Reference in New Issue
Block a user