fixed format
This commit is contained in:
parent
283664aab0
commit
63f8ae6619
@ -47,7 +47,7 @@ const config: QuartzConfig = {
|
|||||||
Plugin.FrontMatter(),
|
Plugin.FrontMatter(),
|
||||||
Plugin.TableOfContents(),
|
Plugin.TableOfContents(),
|
||||||
Plugin.CreatedModifiedDate({
|
Plugin.CreatedModifiedDate({
|
||||||
priority: ["filesystem", "git"], // you can add 'git' here for last modified from Git but this makes the build slower
|
priority: ["frontmatter", "git","filesystem"], // you can add 'git' here for last modified from Git but this makes the build slower
|
||||||
}),
|
}),
|
||||||
Plugin.Latex({ renderEngine: "katex" }),
|
Plugin.Latex({ renderEngine: "katex" }),
|
||||||
Plugin.SyntaxHighlighting(),
|
Plugin.SyntaxHighlighting(),
|
||||||
|
@ -11,7 +11,7 @@ export default (() => {
|
|||||||
|
|
||||||
if (fileData.dates) {
|
if (fileData.dates) {
|
||||||
// segments.push(formatDate(getDate(cfg, fileData)!))
|
// segments.push(formatDate(getDate(cfg, fileData)!))
|
||||||
segments.push('created: ' + formatDate(fileData.dates?.["created"]))
|
// segments.push('created: ' + formatDate(fileData.dates?.["created"]))
|
||||||
segments.push('last updated: ' + formatDate(fileData.dates?.["modified"]))
|
segments.push('last updated: ' + formatDate(fileData.dates?.["modified"]))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user