mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 05:14:06 -06:00
fix: 换成使用publishDate字段显示笔记发布时间。
This commit is contained in:
parent
d3d4a2accb
commit
71b949abd7
@ -15,7 +15,7 @@ const config: QuartzConfig = {
|
||||
locale: "zh-CN",
|
||||
baseUrl: "garden.oldwinter.top",
|
||||
ignorePatterns: ["private", "templates", ".obsidian","Atlas","Calendar","Cards", "Extras","Sources", "Spaces"],
|
||||
defaultDateType: "modified",
|
||||
defaultDateType: "published",
|
||||
theme: {
|
||||
fontOrigin: "googleFonts",
|
||||
cdnCaching: false,
|
||||
@ -52,7 +52,7 @@ const config: QuartzConfig = {
|
||||
transformers: [
|
||||
Plugin.FrontMatter(),
|
||||
Plugin.CreatedModifiedDate({
|
||||
priority: ["frontmatter", "git", "filesystem"],
|
||||
priority: ["frontmatter"],
|
||||
}),
|
||||
Plugin.Latex({ renderEngine: "katex" }),
|
||||
Plugin.SyntaxHighlighting({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user