mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-07-23 23:01:22 +00:00
.github
content
docs
advanced
features
images
plugins
AliasRedirects.md
Assets.md
CNAME.md
ComponentResources.md
ContentIndex.md
ContentPage.md
CrawlLinks.md
CreatedModifiedDate.md
Description.md
ExplicitPublish.md
FolderPage.md
Frontmatter.md
GitHubFlavoredMarkdown.md
HardLineBreaks.md
Latex.md
NotFoundPage.md
ObsidianFlavoredMarkdown.md
OxHugoFlavoredMarkdown.md
RemoveDrafts.md
Static.md
SyntaxHighlighting.md
TableOfContents.md
TagPage.md
index.md
tags
authoring content.md
build.md
configuration.md
hosting.md
index.md
layout.md
migrating from Quartz 3.md
philosophy.md
setting up your GitHub repository.md
showcase.md
upgrading.md
quartz
.gitattributes
.gitignore
.npmrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
Dockerfile
LICENSE.txt
README.md
globals.d.ts
index.d.ts
package-lock.json
package.json
quartz.config.ts
quartz.layout.ts
tsconfig.json
Fixed a broken parentheses correspondence for code fragments that appear in the documentation.
1.2 KiB
1.2 KiB
title, tags
title | tags | |
---|---|---|
CreatedModifiedDate |
|
This plugin determines the created, modified, and published dates for a document using three potential data sources: frontmatter metadata, Git history, and the filesystem. See authoring content#Syntax for more information.
Note
For information on how to add, remove or configure plugins, see the configuration#Plugins page.
This plugin accepts the following configuration options:
priority
: The data sources to consult for date information. Highest priority first. Possible values are"frontmatter"
,"git"
, and"filesystem"
. Defaults to["frontmatter", "git", "filesystem"]
.
Warning
If you rely on
git
for dates, make suredefaultDateType
is set tomodified
inquartz.config.ts
.Depending on how you hosting your Quartz, the
filesystem
dates of your local files may not match the final dates. In these cases, it may be better to usegit
orfrontmatter
to guarantee correct dates.
API
- Category: Transformer
- Function name:
Plugin.CreatedModifiedDate()
. - Source:
quartz/plugins/transformers/lastmod.ts
.