Jacky Zhao
2024-10-15 b3a02909ba74fff08cd3675707d1f4d782a24e98
quartz/plugins/filters/explicit.ts
@@ -3,6 +3,6 @@
export const ExplicitPublish: QuartzFilterPlugin = () => ({
  name: "ExplicitPublish",
  shouldPublish(_ctx, [_tree, vfile]) {
    return vfile.data?.frontmatter?.publish ?? false
    return vfile.data?.frontmatter?.publish === true
  },
})