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 for more information.
Note
For information on how to add, remove or configure plugins, see the Configuration 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"].
When loading the frontmatter, the value of Frontmatter is used.
Warning
If you rely on
gitfor dates, make suredefaultDateTypeis set tomodifiedin the plugin’s options.Depending on how you host your Quartz, the
filesystemdates of your local files may not match the final dates. In these cases, it may be better to usegitorfrontmatterto guarantee correct dates.
API
- Category: Transformer
- Function name:
ExternalPlugin.CreatedModifiedDate(). - Source:
quartz-community/created-modified-date - Install:
npx quartz plugin add github:quartz-community/created-modified-date