Update quartz.layout.ts

This commit is contained in:
enneaa 2025-03-15 07:41:13 +08:00 committed by GitHub
parent 5fb66f09f2
commit d9a331e5bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ export const defaultContentPageLayout: PageLayout = {   
Component.RecentNotes({ Component.RecentNotes({
title: "最近更新", title: "最近更新",
showTags: false, showTags: false,
limit: 4, limit: 10,
filter: (f) => { filter: (f) => {
if (f.filePath?.endsWith("index.md")) { if (f.filePath?.endsWith("index.md")) {
return false return false
@ -76,7 +76,7 @@ export const defaultListPageLayout: PageLayout = {    
Component.RecentNotes({ Component.RecentNotes({
title: "最近更新", title: "最近更新",
showTags: false, showTags: false,
limit: 4, limit: 10,
filter: (f) => { filter: (f) => {
if (f.filePath?.endsWith("index.md")) { if (f.filePath?.endsWith("index.md")) {
return false return false