So siehts ganz gut aus !
This commit is contained in:
10
node_modules/pug/examples/mixins/profile.pug
generated
vendored
Normal file
10
node_modules/pug/examples/mixins/profile.pug
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
mixin pets(pets)
|
||||
ul.pets
|
||||
each pet in pets
|
||||
li= pet
|
||||
|
||||
mixin profile(user)
|
||||
.user
|
||||
h2= user.name
|
||||
+pets(user.pets)
|
||||
Reference in New Issue
Block a user