pixsy/node_modules/pug/test/cases/case-blocks.pug

10 lines
186 B
Plaintext

html
body
- var friends = 1
case friends
when 0
p you have no friends
when 1
p you have a friend
default
p you have #{friends} friends