fix(blog): set post in ViewData for article
This commit is contained in:
parent
b9e2597bc0
commit
1cdad4c17c
|
@ -9,6 +9,7 @@
|
|||
}
|
||||
|
||||
@{
|
||||
ViewData["Post"] = post;
|
||||
ViewData["Title"] = post.Title;
|
||||
IBlogAuthor author = post.Author;
|
||||
DateTimeOffset published = post.Published;
|
||||
|
|
Loading…
Reference in New Issue