Jacky Zhao
2023-12-28 e758cbe1ee7a2bb128cbd95fd6d3cdcd34623800
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
  },