feat(content-blog): include front matter in loaded content metadata (#6189)

* feat(content-blog): include front matter in metadata

* fixes
This commit is contained in:
Joshua Chen 2021-12-26 11:24:24 +08:00 committed by GitHub
parent e1bff072fe
commit 2cc89e502f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 0 deletions

View file

@ -234,6 +234,7 @@ async function processBlogSourceFile(
: undefined,
truncated: truncateMarker?.test(content) || false,
authors,
frontMatter,
},
content,
};