Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Expand collections documentation. #3638
The current documentation refers to a location below for a discussion of accessing document variables, but does not provide anything concrete. I have persevered with the albums example, and given something slightly complex in order to show how to access nested attributes (since I found it difficult to find documentation on this).
I also noted a method for setting default variables in collections and fixed a minor typo.
It would also be useful to add an example of how to access nested attributes on the current collection item without using a for loop (I am embarrassed to say that I don't know how to do it myself).