-
Notifications
You must be signed in to change notification settings - Fork 3
/
template.mustache.xml
51 lines (51 loc) · 2.39 KB
/
template.mustache.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="cq:Page">
<jcr:content
cq:template="/apps/geometrixx-outdoors/templates/page_product"
jcr:description="{{jcr_description}}"
jcr:isCheckedOut="{Boolean}true"
jcr:mixinTypes="[mix:versionable]"
jcr:primaryType="cq:PageContent"
jcr:title="{{jcr_title}}"
sling:resourceType="geometrixx-outdoors/components/page_product">
<par
jcr:primaryType="nt:unstructured"
sling:resourceType="foundation/components/parsys">
<product
jcr:primaryType="nt:unstructured"
sling:resourceType="geometrixx-outdoors/components/product"
identifier="{{identifier}}"
price="${{price}}"{{#sizes}}
sizes="{{sizes}}"{{/sizes}}>
<image
jcr:primaryType="nt:unstructured"
sling:resourceType="geometrixx-outdoors/components/product/image"
fileReference="/content/dam/geometrixx-outdoors/products/{{jcr_title}}.jpg"/>
</product>
<tabctrl
jcr:primaryType="nt:unstructured"
sling:resourceType="geometrixx-outdoors/components/tabctrl"
tabs="[Product Summary,Features]">
<tab-0
jcr:primaryType="nt:unstructured"
sling:resourceType="foundation/components/parsys">
<text
jcr:primaryType="nt:unstructured"
sling:resourceType="foundation/components/text"
text="{{summary}}"
textIsRich="true"/>
</tab-0>
<tab-1
jcr:primaryType="nt:unstructured"
sling:resourceType="foundation/components/parsys">
<text
jcr:primaryType="nt:unstructured"
sling:resourceType="foundation/components/text"
text="{{features}}"
textIsRich="true"/>
</tab-1>
</tabctrl>
</par>
</jcr:content>
</jcr:root>