Update quartz.layout.ts

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

View File

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