-
I hope I'm simply overlooking something in the docs here. I want to create a simple YAML structure using admin blueprints. It's a page blueprint, looking for an ingredients list in frontmatter like: ingredients:
- "1 tbsp sugar"
- "2 lemons"
- "4 cups of wholemeal flour" It's most similar to the Anyone know how I can achieve this? I know I can make a custom type. If anyone has done it this way, could you please provide code? Many thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Use an array type with |
Beta Was this translation helpful? Give feedback.
-
Superb, thank you! I might add that description to the docs, though it's reasonably self-explanatory and I did overlook it! |
Beta Was this translation helpful? Give feedback.
Use an array type with
value_only: true
in the definition (same level astype: array