dashboard
repositories
filestore
activity
search
login
scapegoat
/
Docs2
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Permit Manual (and Scripted) Trigger of CI Job (#1251)
Sean Missingham
2024-07-01
f7bd2137ecbb81f3ed50ae9ccaaee27ae855c11a
[scapegoat/Docs2.git]
/
quartz
/
plugins
/
filters
/
explicit.ts
1
2
3
4
5
6
7
8
import { QuartzFilterPlugin } from "../types"
export const ExplicitPublish: QuartzFilterPlugin = () => ({
name: "ExplicitPublish",
shouldPublish(_ctx, [_tree, vfile]) {
return vfile.data?.frontmatter?.publish ?? false
},
})