Emile Bangma
2024-09-25 5eec1e98e6f6b16d4a29cdbbc69c573fb06e538d
quartz/plugins/filters/explicit.ts
@@ -3,7 +3,6 @@
export const ExplicitPublish: QuartzFilterPlugin = () => ({
  name: "ExplicitPublish",
  shouldPublish(_ctx, [_tree, vfile]) {
    const publishFlag: boolean = vfile.data?.frontmatter?.publish ?? false
    return publishFlag
    return vfile.data?.frontmatter?.publish ?? false
  },
})