Reimplement Hakyll's metadata `listField`
L-TChen opened this issue · 1 comments
L-TChen commented
A page may consist of events specified by time, subject, and its content in the yaml front matter as
- events:
- time: ...
subject: ...
content: ...
- time: ...
subject: ...
content: ...
Ideally, the metadata includes a key called events
which is a list of tuples. Then, I'd like to access it as $i.time$
via an iterator i
. The template syntax might need an additional for-each
macro.