Jacky Zhao
2023-12-09 2c69b0c97d40f76363d20478cb799ce4b7518e56
quartz/plugins/filters/explicit.ts
@@ -2,7 +2,7 @@
export const ExplicitPublish: QuartzFilterPlugin = () => ({
  name: "ExplicitPublish",
  shouldPublish([_tree, vfile]) {
  shouldPublish(_ctx, [_tree, vfile]) {
    const publishFlag: boolean = vfile.data?.frontmatter?.publish ?? false
    return publishFlag
  },