fix: harmonize main page with rest of site

This commit is contained in:
hugo committed 2026-02-20 19:47:07 +01:00
1 parent 3bbc5281e8
commit 23facaa36d
4 files changed
+10 -4

No files matched your search

+1 -1
View File
@@ -574,7 +574,7 @@ export class BlogGenerationEngine {
if (pagePosts.length === 0) break;
const html = await pageRenderer.renderPostList(pagePosts, rewriteContext, {
archiveGrouping: false,
archiveGrouping: true,
routeKind: 'date',
archiveContext: { kind: 'root' },
basePathname: '/',
+1 -1
View File
@@ -286,7 +286,7 @@ export class PreviewServer {
if (pagedPathname === '/') {
const result = await this.loadPublishedSnapshotsPage({ status: 'published' }, pageOptions);
return this.pageRenderer.renderPostList(result.posts, rewriteContext, {
archiveGrouping: false,
archiveGrouping: true,
routeKind: 'date',
archiveContext: { kind: 'root' },
basePathname: pagedPathname,