diff --git a/plugs/index/lint.ts b/plugs/index/lint.ts index 267a9723..a1df17f1 100644 --- a/plugs/index/lint.ts +++ b/plugs/index/lint.ts @@ -176,6 +176,10 @@ export async function lintObjects({ text, name, }: LintEvent): Promise { + if (!meta) { + return []; + } + const frontmatter = extractFrontMatter(tree); // Index the page