fix: don't use 0-based page index in blog index

This commit is contained in:
Oliver Booth 2024-05-05 18:16:17 +01:00
parent 435a69b27a
commit 746b4d8728
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
1 changed files with 1 additions and 1 deletions

View File

@ -21,6 +21,6 @@
@await Html.PartialAsync("Partials/_PageTabs", new ViewDataDictionary(ViewData)
{
["UrlRoot"] = "/blog",
["Page"] = 0,
["Page"] = 1,
["PageCount"] = BlogPostService.GetPageCount(visibility: Visibility.Published)
})