Added Author Name to ArticleCard component
Some checks failed
Docker Release / build (push) Has been cancelled
GitHub Release / Generate Release (push) Has been cancelled

This commit is contained in:
Mia Rose Winter 2024-04-18 15:25:15 +02:00
parent ff73265a46
commit a204191eaf
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E

View file

@ -10,6 +10,7 @@
<div class="card-body">
<h2 class="card-title line-clamp-1">@Article.Title</h2>
<small>
@Article.Author.Name
@Article.PublishDate.ToString("d")
@if (Article.Status is not ArticleStatus.Published) {
<span class="badge badge-sm badge-warning ml-2">@Article.Status.Humanize()</span>