Files
quartz/docs/plugins/CreatedModifiedDate.md
saberzero1 cce45e0718 docs: add repository, enabled, required frontmatter to all plugin docs
Added repository, enabled, and required fields to the frontmatter of
all 44 plugin documentation files. Updated Plugins.base to include
these columns, matching the information previously in the manual tables.
Also filtered out internal plugins (Assets, Static, ComponentResources,
NotFoundPage) from the base query.
2026-05-24 19:46:42 +02:00

1.6 KiB

title, tags, image, repository, enabled, required
title tags image repository enabled required
CreatedModifiedDate
plugin/transformer
quartz-community/created-modified-date true false

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"].
  • defaultDateType: Which date type to use when displaying dates. Can be "created", "modified", or "published". Defaults to "modified".

When loading the frontmatter, the value of Frontmatter#List is used.

Warning

If you rely on git for dates, make sure defaultDateType is set to modified in the plugin's options.

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 use git or frontmatter to 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