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;
|
Author author = Model.Author;
|
||||||
DateTimeOffset published = post.Published;
|
DateTimeOffset published = post.Published;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
@page
|
@page
|
||||||
@model OliverBooth.Pages.Blog.Index
|
@model OliverBooth.Pages.Blog.Index
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewData["Title"] = "Blog";
|
||||||
|
}
|
||||||
|
|
||||||
<div id="all-blog-posts">
|
<div id="all-blog-posts">
|
||||||
@await Html.PartialAsync("_LoadingSpinner")
|
@await Html.PartialAsync("_LoadingSpinner")
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user