mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 14:36:22 +00:00
dd82ab8d79
* Update Assets.md * expand fix for every /plugins page
18 lines
683 B
Markdown
18 lines
683 B
Markdown
---
|
|
title: ExplicitPublish
|
|
tags:
|
|
- plugin/filter
|
|
---
|
|
|
|
This plugin filters content based on an explicit `publish` flag in the frontmatter, allowing only content that is explicitly marked for publication to pass through. It's the opt-in version of [[RemoveDrafts]]. See [[private pages]] for more information.
|
|
|
|
> [!note]
|
|
> For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.
|
|
|
|
This plugin has no configuration options.
|
|
|
|
## API
|
|
|
|
- Category: Filter
|
|
- Function name: `Plugin.ExplicitPublish()`.
|
|
- Source: [`quartz/plugins/filters/explicit.ts`](https://github.com/jackyzha0/quartz/blob/v4/quartz/plugins/filters/explicit.ts).
|