complex.mustache 295 B

12345678910111213141516
  1. <h1>{{header}}</h1>
  2. {{#notEmpty}}
  3. <ul>
  4. {{#item}}
  5. {{#current}}
  6. <li><strong>{{name}}</strong></li>
  7. {{/current}}
  8. {{^current}}
  9. <li><a href="{{url}}">{{name}}</a></li>
  10. {{/current}}
  11. {{/item}}
  12. </ul>
  13. {{/notEmpty}}
  14. {{#isEmpty}}
  15. <p>The list is empty.</p>
  16. {{/isEmpty}}