@page "/blog/{year:int}/{month:int}/{day:int}/{slug}" @using Humanizer @using OliverBooth.Services @model OliverBooth.Pages.Blog.Article @inject BlogService BlogService @if (Model.Post is not { } post) { return; }
@Model.Author?.Name • Published @post.Published.Humanize() @if (post.Updated is { } updated) { • Updated @updated.Humanize() } @if (post.EnableComments) { • 0 Comments }
Comments are not enabled for this post.
}