pull/6109/merge
Leangseu Kim 2 weeks ago committed by GitHub
commit a13404283b
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)
if (result[2]) {
return {
...yaml.safeLoad(result[2]),
...yaml.safeLoad(result[2], {
json: true,
schema: yaml.CORE_SCHEMA
}),
content: result[3]
}
} else {

Loading…
Cancel
Save