tutorial.tmpl 321 B

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