dashboard
repositories
filestore
activity
search
login
scapegoat
/
Docs2
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
fix: font weight consistency
Jacky Zhao
2024-02-02
2b57a68e1f9528de3c08633251f37d5755c75698
[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
},
})