dashboard
repositories
filestore
activity
search
login
scapegoat
/
Docs2
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
docs(hosting): missing key with: (#1334)
Karthi Fair Hawn
2024-08-10
323167a001706745e6bd19efb38b0a877859c813
[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
},
})