Been thinking about this idea of a new syntax layer to define sequences of content blocks. I’d want to be able to define some parameters for an “element”… this just sounds like the template generators of collate. I guess the difference is that I’d want to have some very domain-specific logic, like “if this is the last post of a sequence, do this instead”. Or to generate list elements by allowing range and overlap queries on groups, and also allowing parameters to be extracted by a collection renderer or something.
- post
- title
- date
- author
- [tag]
- content
new post
title: My Post
date: 23 02 19
author: ^|u author-jak|
tag: [co, compiler]
content: -
This is the content of my post.
My brain isn’t really firing on this today.