Files

1.3 KiB

title, description, aliases, tags, image, enabled, required
title description aliases tags image enabled required
RemoveDrafts Built-in draft handling (formerly the remove-draft plugin). Pages with draft true are not published.
drafts
remove-draft
plugin/filter
built-in
true false

Draft handling is built-in processing (it used to be the remove-draft plugin): pages with draft: true in their frontmatter are not published. This prevents private pages from being published. All other pages are left intact.

Configure it under configuration.drafts in quartz.config.yaml:

  • publish: set to true to publish drafts anyway, e.g. for a preview deployment. Defaults to false.
  • enabled: false has the same effect as publish: true.
configuration:
  drafts:
    publish: false

Note

An existing @quartz-community/remove-draft entry is handled automatically (a disabled entry means drafts are published). Run npx quartz plugin doctor --fix to move it.

For the opposite approach — only publish pages marked publish: true — enable ExplicitPublish.

API