dependabot[bot]
2024-06-18 0a3be96dd6098026edc23a7f66029484c1e44551
quartz/plugins/filters/explicit.ts
@@ -2,8 +2,7 @@
export const ExplicitPublish: QuartzFilterPlugin = () => ({
  name: "ExplicitPublish",
  shouldPublish([_tree, vfile]) {
    const publishFlag: boolean = vfile.data?.frontmatter?.publish ?? false
    return publishFlag
  }
  shouldPublish(_ctx, [_tree, vfile]) {
    return vfile.data?.frontmatter?.publish ?? false
  },
})