forked from cmather/blaze-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout-test.html
56 lines (45 loc) · 843 Bytes
/
layout-test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<template name="LayoutOne">
one
</template>
<template name="LayoutTwo">
two
</template>
<template name="LayoutWithData">
layout {{title}}
</template>
<template name="LayoutWithDataAndYields">
layout {{title}}
{{> yield}}
{{> yield region="footer"}}
</template>
<template name="LayoutWithOneYield">
layout
{{> yield}}
</template>
<template name="LayoutWithTwoYields">
{{> yield}}
{{> yield region="footer"}}
</template>
<template name="ChildWithData">
child {{title}}
</template>
<template name="FooterWithData">
footer {{title}}
</template>
<template name="One">
one
</template>
<template name="Two">
two
</template>
<template name="DefaultMainRegion">
{{#Layout}}
ok
{{/Layout}}
</template>
<template name="ContentForTests">
main
{{#contentFor region="footer"}}
footer
{{/contentFor}}
</template>