We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d722328 + e8e924f commit 845ec29Copy full SHA for 845ec29
frontend/src/lib/render.ts
@@ -58,7 +58,7 @@ export function stripFrontMatter(input: TokensList) {
58
if (
59
frontMatterNode !== undefined &&
60
frontMatterNode.type === 'heading' &&
61
- frontMatterNode.raw.startsWith('layout')
+ frontMatterNode.raw.includes('title: ')
62
) {
63
// The output of this process will contain the serialized frontmatter header
64
frontMatterNode['raw'].replace('---\n', '\n').trim();
0 commit comments