Emile Bangma
2024-12-17 ff9e60a7fce0f642dfb8a1ee0042f0d3da848411
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 || vfile.data?.frontmatter?.publish === "true"
  },
})