File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -285,8 +285,8 @@ The `child` tag can only be used within `block` tags. Its function is to place t
285285
286286```
287287<% block name %>
288- <% slot slot_name %>
289- content
288+ <% slot slot_name %>
289+ content
290290 <% /slot %>
291291
292292 content...
@@ -301,21 +301,21 @@ The `slot` tag is used to define slot positions in parent templates. Child templ
301301
302302```
303303<% block name %>
304- <% call other_block_name %>
305- <% slot slot_name %>
306- content
304+ <% call other_block_name %>
305+ <% slot slot_name %>
306+ content
307307 <% /slot %>
308- <% /call %>
308+ <% /call %>
309309
310310 content...
311311<% /block %>
312312```
313313
314314```
315315<% block name %>
316- <% call other_block_name slot1="slot_content_1" slot2="slot_content_2" %>
316+ <% call other_block_name slot1="slot_content_1" slot2="slot_content_2" %>
317317 <% slot slot3 %>
318- slot_content_3
318+ slot_content_3
319319 <% /slot %>
320320 <% /call %>
321321
@@ -329,7 +329,7 @@ The `slot` tag is used to define slot positions in parent templates. Child templ
329329
330330```
331331<% block name %>
332- <% use other_block_name slot1="slot_content_1" slot2="slot_content_2" %>
332+ <% use other_block_name slot1="slot_content_1" slot2="slot_content_2" %>
333333
334334 content...
335335<% /block %>
You can’t perform that action at this time.
0 commit comments