fix: don't use 0-based page index in blog index
This commit is contained in:
parent
435a69b27a
commit
746b4d8728
@ -21,6 +21,6 @@
|
|||||||
@await Html.PartialAsync("Partials/_PageTabs", new ViewDataDictionary(ViewData)
|
@await Html.PartialAsync("Partials/_PageTabs", new ViewDataDictionary(ViewData)
|
||||||
{
|
{
|
||||||
["UrlRoot"] = "/blog",
|
["UrlRoot"] = "/blog",
|
||||||
["Page"] = 0,
|
["Page"] = 1,
|
||||||
["PageCount"] = BlogPostService.GetPageCount(visibility: Visibility.Published)
|
["PageCount"] = BlogPostService.GetPageCount(visibility: Visibility.Published)
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user