问题描述:

I have a nested list, it looks like this in YAML and when used as YAML datafile it works without any problem:

---

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"

However, I would like to have it in CSV (since Jekyll can read CSV) so my girlfriend can edit it in spreadsheet, thus make it more friendly to her.

I'm looking for spreadsheet template which can generate CSV file with appropriate interpretation of nested lists for jekyll use.

Here’s an editable spreadsheet with some of my tests.

相关阅读:
Top