fix(blog): set post in ViewData for article

This commit is contained in:
Oliver Booth 2023-08-14 00:58:58 +01:00
parent b9e2597bc0
commit 1cdad4c17c
Signed by: oliverbooth
GPG Key ID: B89D139977693FED
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@
} }
@{ @{
ViewData["Post"] = post;
ViewData["Title"] = post.Title; ViewData["Title"] = post.Title;
IBlogAuthor author = post.Author; IBlogAuthor author = post.Author;
DateTimeOffset published = post.Published; DateTimeOffset published = post.Published;