-
-
Save defunkt/3c91441597ac650146b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
user: | |
name: Bob | |
dogs: [ {name: Sparky}, {name: Spot} ] | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{#user}} | |
{{name}} | |
{{#dogs}} | |
{{name}} ({{#user}}{{name}}{{/user}}) | |
{{/dogs}} | |
{{/user}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This only works if there is just 1 user. If there are many users with many dogs, you get the name of every user for each dog.