@using Wave.Data @using Humanizer @inject IStringLocalizer Localizer

@Article.Title

@if (Article.LastModified is not null && Article.LastModified > Article.PublishDate) { } @if (Article.Status < ArticleStatus.Published) { @Article.Status.Humanize() }

@Content
@if (!string.IsNullOrWhiteSpace(Article.Author.AboutTheAuthor)) {

About The Author

@Article.Author.Name

@Article.Author.AboutTheAuthor

}
@if (string.IsNullOrWhiteSpace(Article.Author.AboutTheAuthor)) { } @if (Article.Reviewer is not null && Article.Reviewer.Id != Article.Author.Id) { }
@code { [Parameter] public required Article Article { get; set; } private MarkupString Content => new(Article.BodyHtml); }