I am using Socketstream default stack with Jade and ss-hogan for templating. I love it, except I can't figure out how to print a list. Example:
client.js
html = ss.tmpl['game-full'].render({
name: 'GTA IV',
platforms: [{
name: 'ps3'
}, {
name: 'xbox'
}
]
})
templates/game/full.jade
h1 {{name}} is fine
ul
li I don't know how to list {{platforms}} here, one per li
I'm just a bit confused by the Jade>HTML>Hogan process I think, and not sure what syntax to use.