Update quartz.layout.ts

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

View File

@ -37,6 +37,7 @@ export const defaultContentPageLayout: PageLayout = {   
title: "最近更新", title: "最近更新",
showTags: false, showTags: false,
limit: 10, limit: 10,
linkToMore: "recent"
filter: (f) => { filter: (f) => {
if (f.filePath?.endsWith("index.md")) { if (f.filePath?.endsWith("index.md")) {
return false return false
@ -77,6 +78,7 @@ export const defaultListPageLayout: PageLayout = {    
title: "最近更新", title: "最近更新",
showTags: false, showTags: false,
limit: 10, limit: 10,
linkToMore: "recent"
filter: (f) => { filter: (f) => {
if (f.filePath?.endsWith("index.md")) { if (f.filePath?.endsWith("index.md")) {
return false return false