wip: article AI polish, category SEO fields, cover generator, membership plan seeder
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
<div class="post-list">
|
||||
@forelse($articles as $article)
|
||||
<article class="post-item">
|
||||
@if($article->hasCover() && ($coverUrl = $article->coverUrl()))
|
||||
<a class="post-item__cover" href="{{ url('/show-'.$article->id.'.shtml') }}">
|
||||
<img src="{{ $coverUrl }}" alt="{{ $article->title }}" loading="lazy">
|
||||
</a>
|
||||
@endif
|
||||
<h2><a href="{{ url('/show-'.$article->id.'.shtml') }}">{{ $article->title }}</a></h2>
|
||||
<p class="meta">
|
||||
{{ optional($article->published_at)->format('Y-m-d') }}
|
||||
|
||||
Reference in New Issue
Block a user