我有一个嵌套列表,在YAML中看起来像这样,当用作YAML数据文件时,它没有任何问题:
---
title: "Vlčí hory"
thumbnail: "/img/vlci-hory/thumb.jpg"
products:
- title: "Rys"
category: "sešit"
dimension: "A5"
binding: "V1"
lineature: "tečky"
paper-cover: "250g recykl"
paper-inside: "80g recykl"
image1: "/img/vlci-hory/thumb.jpg"
- title: "Sova"
category: "sešit"
dimension: "A5"
binding: "V1"
lineature: "čisté listy"
paper-cover: "250g recykl"
paper-inside: "80g recykl"
image1: "/img/vlci-hory/thumb.jpg"
- title: "Zubr"
category: "sešit"
dimension: "A5"
binding: "V1"
lineature: "linky"
paper-cover: "250g recykl"
paper-inside: "80g recykl"
image1: "/img/vlci-hory/thumb.jpg"
但是,我想以CSV格式(since Jekyll can read CSV),所以我的女朋友可以在电子表格中编辑它,从而使它对她更友好。
我正在寻找能够生成CSV文件的电子表格模板,并对jekyll使用的嵌套列表进行适当的解释。