summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index f2620fe..a9fd873 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -50,7 +50,7 @@ export default function gemtext(config: GemtextConfig = {}): AstroIntegration {
if (lines.at(0) === '---' && lines.lastIndexOf('---')) {
frontmatter = lines.slice(1, lines.indexOf('---', 1)).join('\n');
try {
- data = { ...data, ...parseYaml(frontmatter) };
+ data = { ...data, ...parseYaml(frontmatter, { schema: 'yaml-1.1' }) };
} catch { }
}