mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-19 10:54:06 -06:00
lint: format
This commit is contained in:
parent
2e00035d54
commit
8757edb88c
@ -125,12 +125,15 @@ export const ContentIndex: QuartzEmitterPlugin<Partial<Options>> = (opts) => {
|
||||
)
|
||||
) {
|
||||
console.warn(
|
||||
styleText("yellow", `Warning: contentIndex:
|
||||
styleText(
|
||||
"yellow",
|
||||
`Warning: contentIndex:
|
||||
content/ folder is missing an index.md. RSS feeds and sitemap will not be generated.
|
||||
If you still wish to generate these files, add:
|
||||
bypassIndexCheck: true,
|
||||
to your configuration for Plugin.ContentIndex({...}) in quartz.config.ts.
|
||||
Don't do this unless you know what you're doing!`),
|
||||
Don't do this unless you know what you're doing!`,
|
||||
),
|
||||
)
|
||||
return []
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user