Jacky Zhao
2023-08-20 e65ea48fae5a279ad4e50594b03621904f84e477
quartz/plugins/filters/explicit.ts
@@ -2,7 +2,7 @@
export const ExplicitPublish: QuartzFilterPlugin = () => ({
  name: "ExplicitPublish",
  shouldPublish([_tree, vfile]) {
  shouldPublish(_ctx, [_tree, vfile]) {
    const publishFlag: boolean = vfile.data?.frontmatter?.publish ?? false
    return publishFlag
  },