plyght
2024-11-22 e1d754ef79e8c04d6fe0f9031ce74baf48d3bb10
quartz/plugins/filters/explicit.ts
@@ -3,6 +3,6 @@
export const ExplicitPublish: QuartzFilterPlugin = () => ({
  name: "ExplicitPublish",
  shouldPublish(_ctx, [_tree, vfile]) {
    return vfile.data?.frontmatter?.publish === true
    return vfile.data?.frontmatter?.publish === true || vfile.data?.frontmatter?.publish === "true"
  },
})