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