1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<section> <header> <?js if (children.length > 0) { ?> <ul><?js var self = this; children.forEach(function(t) { ?> <li><?js= self.tutoriallink(t.name) ?></li> <?js }); ?></ul> <?js } ?> <h2><?js= header ?></h2> </header> <article> <?js= content ?> </article> </section>