if-else.hbs 191 B

12345678910111213141516171819
  1. <h1>
  2. {{#if isAtWork}}
  3. Ship that code!
  4. {{else if isReading}}
  5. You can finish War and Peace eventually...
  6. {{else}}
  7. Go to bed!
  8. {{/if}}
  9. </h1>
  10. <h2>
  11. {{#if a}}
  12. A
  13. {{else}}
  14. B
  15. {{/if}}
  16. </h2>