mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
Update quartz.layout.ts
This commit is contained in:
parent
d9a331e5bc
commit
c2b595915f
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user