Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
data = {
orgs: [
{ key: 'orgkey', name: 'orgname',
projects: [
{ key: 'projkey', name: 'projname' }
] }
]
};
{{#data.orgs}}
<li><a href="/orgs/{{key}}">{{name}}</a></li>
{{#projects}}
<ul>
<li><a href="/orgs/{{base.key}}/projects/{{key}}">{{name}}</a></li>
</ul>
{{/projects}}
{{/data.orgs}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.