fix: harmonize main page with rest of site
This commit is contained in:
1 parent
3bbc5281e8
commit
23facaa36d
4 files changed
+10
-4
No files matched your search
@@ -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: '/',
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user