# Comments start with one or more hashes
# Collections. The convention used by Hugo is
key1: value1
key2: value2
# Collections can also be written as curly bracketed, comma separated objects
{ key1: value1, key2: value2 }
# Collections double as dictionaries
dict1: { key1: value1, key2: value2 }
# There are 2 ways of doing arrays
# Either using a dash prefix on several lines
array1:
- item1
- item2
- item3
# Or as a comma separated square bracket list
array2: [item2, item2, item3]
## nested arrays are allowed.
key1:
- key11: val11
key12: val12
- key21: val21
key22: val22
key1:
- {key11: val11, key12: val12}
- {key21: val21, key22: val22}