Emile Bangma
2025-05-28 7fa9253abc1e4056d425847e2eaa5a8e107fc297
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 === true || vfile.data?.frontmatter?.publish === "true"
  },
})