-
0 votesanswersviews
有没有办法循环jekyll集合的前端问题?
我有一个没有输出的Jekyll集合,但其元素显示在一个页面上,如下所示: {% for element in site.collection %} {{ element.content }} {% endfor %} 我希望能够做到这样的事情: {% for element in site.collection %} {{ element.content }} {% for fron... -
5 votesanswersviews
使用Gatsby.js中的Markdown Remark自定义frontmatter变量
我正在使用Gatsbyjs和NetlifyCMS构建一个网站 . 我已经开始使用这个启动器https://github.com/AustinGreen/gatsby-starter-netlify-cms,我现在正在尝试自定义它 . 我想在markdown文件的frontmatter中使用自定义变量,如下所示: --- templateKey: mirror nazev: Černobílá ti...