pull/6109/merge
Leangseu Kim 1 week ago committed by GitHub
commit 5dbfd2598d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -199,7 +199,10 @@ module.exports = class Page extends Model {
result = frontmatterRegex.markdown.exec(raw) result = frontmatterRegex.markdown.exec(raw)
if (result[2]) { if (result[2]) {
return { return {
...yaml.safeLoad(result[2]), ...yaml.safeLoad(result[2], {
json: true,
schema: yaml.CORE_SCHEMA
}),
content: result[3] content: result[3]
} }
} else { } else {

Loading…
Cancel
Save