fix: add missing ViewData title assignment
This commit is contained in:
parent
1c73ada81c
commit
cbb7d07844
@ -11,6 +11,7 @@
|
||||
}
|
||||
|
||||
@{
|
||||
ViewData["Title"] = post.Title;
|
||||
Author author = Model.Author;
|
||||
DateTimeOffset published = post.Published;
|
||||
}
|
||||
|
@ -1,6 +1,10 @@
|
||||
@page
|
||||
@model OliverBooth.Pages.Blog.Index
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Blog";
|
||||
}
|
||||
|
||||
<div id="all-blog-posts">
|
||||
@await Html.PartialAsync("_LoadingSpinner")
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user