I use a CSV spreadsheet to plan out all the class sessions, where I put the title, objective, readings, image, etc. It is working for other things but not for the readings.
should appear as links under "Suggested Readings" like this screenshot.
Instead they are blank like this
My workaround is that I put the line zotero-readings: [beckingBoundariesIsraeliteMonotheism2008a, langMonotheismus1998a] in the frontmatter of the relevant post. Still, it should work without this. I think it might have something to do with escaping commas or brackets in the CSV file.
Here's what's supposed to happen:
This line creates the sessions variable with the content from the line in sessions.csv that matches the session number in the post's frontmatter.
Then this line says to create the zotero-readings variable from the zotero-readings column of the spreadsheet, but it is overridden by the zotero-readings frontmatter in the post if any is there.
@YSL4L Could you check into this please?
I use a CSV spreadsheet to plan out all the class sessions, where I put the title, objective, readings, image, etc. It is working for other things but not for the readings.
For example, the readings listed as
[beckingBoundariesIsraeliteMonotheism2008a, langMonotheismus1998a]
in Row 3 (session 2) here https://github.com/jirelations/Millennial/blob/71f5a669073bd771d882c6a4199323c78911873e/_data/sessions.csv#L3should appear as links under "Suggested Readings" like this screenshot.
Instead they are blank like this
My workaround is that I put the line
zotero-readings: [beckingBoundariesIsraeliteMonotheism2008a, langMonotheismus1998a]
in the frontmatter of the relevant post. Still, it should work without this. I think it might have something to do with escaping commas or brackets in the CSV file.Here's what's supposed to happen:
This line creates the
sessions
variable with the content from the line in sessions.csv that matches the session number in the post's frontmatter.https://github.com/jirelations/Millennial/blob/71f5a669073bd771d882c6a4199323c78911873e/_layouts/post.html#L5
Then this line says to create the
zotero-readings
variable from the zotero-readings column of the spreadsheet, but it is overridden by the zotero-readings frontmatter in the post if any is there.https://github.com/jirelations/Millennial/blob/71f5a669073bd771d882c6a4199323c78911873e/_layouts/post.html#L12
Then this line says to get the item from _data/zotero.yaml that matches the ID mentioned in each of the items in the
zotero-readings
variable.https://github.com/jirelations/Millennial/blob/71f5a669073bd771d882c6a4199323c78911873e/_includes/readings.html#L6
Can you figure out what's wrong?