【发布时间】:2019-03-17 10:45:14
【问题描述】:
我的markdown有一些额外的注释,看起来像这样:
---
path: "/"
date: "2018-10-12"
title: "xxxx"
description: "desccc"
---
some of the text
如何获取描述?
{
allMarkdownRemark(
sort: { order: DESC, fields: [frontmatter___date] }
limit: 1000
) {
edges {
node {
frontmatter {
path
title
date
}
}
}
}
}
【问题讨论】: