Skip to content

Instantly share code, notes, and snippets.

Last active December 20, 2015 17:39
What would you like to do?
"menu": {
"home": [
"label": "title1",
"iconClass": "icon1"
"label": "title2",
"iconClass": "icon2"
<script id="menu-item-template" type="text/x-handlebars-template">
{{#each menu}}
<nav class="{{@key}} current"> {{! it prints home }}
{{#each @key}} {{! this should iterate home, but doesnt works }}
<div class="menu-item">
<span class="icon {{iconClass}}"></span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment