@page "/blog/{year:int}/{month:int}/{day:int}/{slug}" @using Humanizer @model OliverBooth.Pages.Blog.Article @if (Model.Post is not { } post) { return; }

@post.Title

@Model.Author?.Name • Published @post.Published.Humanize() @if (post.Updated is { } updated) { Updated @updated.Humanize() } @if (post.EnableComments) { 0 Comments }

@Html.Raw(Model.SanitizeContent(post.Body))

@if (post.EnableComments) {
} else {

Comments are not enabled for this post.

}