diff --git a/OliverBooth/Pages/Blog/Article.cshtml b/OliverBooth/Pages/Blog/Article.cshtml index d54ed45..a75a161 100644 --- a/OliverBooth/Pages/Blog/Article.cshtml +++ b/OliverBooth/Pages/Blog/Article.cshtml @@ -1,5 +1,6 @@ @page "/blog/{year:int}/{month:int}/{day:int}/{slug}" @using Humanizer +@using OliverBooth.Data.Blog @using OliverBooth.Services @model OliverBooth.Pages.Blog.Article @inject BlogService BlogService @@ -9,6 +10,11 @@ return; } +@{ + Author author = Model.Author; + DateTimeOffset published = post.Published; +} +