Skip to content

Commit

Permalink
#618 Added test content for SSR scenario 2: inheriting template conte…
Browse files Browse the repository at this point in the history
…nt from a parent template
  • Loading branch information
cmrockwell committed Nov 6, 2020
1 parent 09fecfd commit c15d91c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<workspaceFilter version="1.0">

<filter root="/content/example/assets/images/Stella.png" />
<filter root="/content/example/pages/contact" />


<filter root="/content/example/templates/base/sub-template" />
<filter root="/content/example/pages/contact/jcr:content" />
<filter root="/content/example/pages/sub-template-page" />

</workspaceFilter>
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>

<jcr:root
xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="per:Page">

<jcr:content
jcr:primaryType="per:PageContent"
sling:resourceType="example/components/page"
jcr:title="sub template example page"
template="/content/example/templates/base/sub-template">
<container
jcr:lastModified="{Date}2020-07-21T14:54:38.805-04:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
sling:resourceType="example/components/container">
<text
jcr:lastModified="{Date}2020-07-22T09:43:36.634-04:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
sling:resourceType="example/components/text"
text="example text"/>
</container>
</jcr:content>
</jcr:root>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<jcr:content
jcr:primaryType="per:PageContent"
sling:resourceType="example/components/page"
jcr:title="example sub-template"
template="/content/example/templates/base/sub-template"/>
jcr:title="example sub-template" />

</jcr:root>

0 comments on commit c15d91c

Please sign in to comment.