Jacky Zhao
2024-02-24 b88d3d292beaa0cd03e72a4fc1b84c7bc1d39e9e
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 ?? false
  },
})