From 746b4d8728fc1b4a3ab10836b225a3647f6c7e2c Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sun, 5 May 2024 18:16:17 +0100 Subject: [PATCH] fix: don't use 0-based page index in blog index --- OliverBooth/Pages/Blog/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliverBooth/Pages/Blog/Index.cshtml b/OliverBooth/Pages/Blog/Index.cshtml index 7b8220f..876e06f 100644 --- a/OliverBooth/Pages/Blog/Index.cshtml +++ b/OliverBooth/Pages/Blog/Index.cshtml @@ -21,6 +21,6 @@ @await Html.PartialAsync("Partials/_PageTabs", new ViewDataDictionary(ViewData) { ["UrlRoot"] = "/blog", - ["Page"] = 0, + ["Page"] = 1, ["PageCount"] = BlogPostService.GetPageCount(visibility: Visibility.Published) }) \ No newline at end of file