[pug/en] Fix typos in mixins (#4113)

This commit is contained in:
Maxim Markin 2022-01-03 18:57:26 +03:00 committed by GitHub
parent ba6e865d5b
commit 2d55b77e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,9 +183,9 @@ style
include styles/theme.css include styles/theme.css
//- ---MIXIN--- //- ---MIXIN---
mixin basic() mixin basic
div Hello div Hello
+basic("Bob") +basic
//- <div>Hello</div> //- <div>Hello</div>
mixin comment(name, comment) mixin comment(name, comment)
@ -193,7 +193,11 @@ mixin comment(name, comment)
span.comment-name= name span.comment-name= name
div.comment-text= comment div.comment-text= comment
+comment("Bob", "This is Awesome") +comment("Bob", "This is Awesome")
//- <div>Hello</div> //-
<div>
<span class="comment-name">Bob</span>
<div class="comment-text">This is Awesome</div>
</div>
``` ```