Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- handlebars basics
- {{ . }} - item in a list
- i.e. when passed ["a", "b", "c"], {{ . }} would yield a, b, c
- {{ varname }} - returns key for a dict in a list of dictionaries
- i.e. when passed [{"foo": 1}, {"foo": 2}]], {{ foo }} would yield 1, 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement