Sitesection with Subsections
sitesection
elements. Nested sitesections is a structure where a sitesection
element contains one or more child sitesection
elements (or subsections).
By default, Heretto Portal supports up to five levels of nested sitesection
elements. Deeper nesting is possible with configuration and assistance from Heretto Professional Services Team.
To render subsections as tiles in portal, the parent sitesection must have the outputclass="view-tiles"
attribute set.
This example shows the output of a sitemap with a sitesection that contains two subsections:
-
“Subsection A” that references a DITA map
-
“Subsection B” that references three DITA topics
<sitemap>
<title>Sitemap</title>
<!-- A parent sitesection that contains subsections -->
<sitesection outputclass="view-tiles">
<topicmeta>
<navtitle>Sitesection with Subsections</navtitle>
<shortdesc>Short Description</shortdesc>
<data href="media/portal_icon_yellow.png" name="thumbnail"/>
</topicmeta>
<sitesection>
<topicmeta>
<navtitle>Subsection A</navtitle>
<shortdesc>Short Description</shortdesc>
<data href="media/portal_icon_yellow.png" name="thumbnail"/>
</topicmeta>
<mapref href="content/map_b.ditamap"/>
</sitesection>
<sitesection>
<topicmeta>
<navtitle>Subsection B</navtitle>
<shortdesc>Short Description</shortdesc>
<data href="media/portal_icon_yellow.png" name="thumbnail"/>
</topicmeta>
<topicref href="content/concept_a.dita"/>
<topicref href="content/concept_b.dita"/>
<topicref href="content/concept_c.dita"/>
</sitesection>
</sitesection>
</sitemap>