Jacky Zhao
2025-03-19 eccad3da5d7b84b0f78a85b357efedef8c0127fc
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"
  },
})