Fieldsets
color ratings:
green = 3
red = 4
blue = 1
Fieldsets allow us to group fields without the need to specify an entire section. They start like a field or list (with a key and a colon),
and go on as long as fieldset entries follow, which are differentiated from regular fields by their operator, an equals sign (=
).
Just as in sections, any key can appear multiple times, but applications may choose to accept only unique keys when that behavior fits the usecase better.
Fieldsets can be copied (like everything else in eno), in which case you can actually redeclare an existing fieldset entry key, which allows you to override its value in the copied fieldset:
image:
src = glass.jpg
title = A glass, half full.
image_2 < image
title = A glass, half empty.
No value
As with fields the value can be omitted (producing a null
value).
image:
src =
Next page: Multiline Fields