#if ($fragment)
$htmlTitle
$utils.raw($additionalCssImports)
##TRACKING_CODE #set ($emptyTitle = $utils.raw("—"))
#if ($fragment.isHome())
$databaseTitle
#end #if ($parents.size() > 0)
#foreach ($parent in $parents)
#if ($parent.isHome())
#else $utils.defaultIfNull($parent.title, $emptyTitle) #end
#end
#else #end #if (!$fragment.isHome())
#else href="$resources.docViewPath()"> #end
#end
#if ($fragment.title)
$fragment.title
#end #fragmentContentForDoc($fragment)
#foreach ($childRel in $fragment.getChildRelations($publicOnly))
$utils.blankToNbsp($utils.raw($html.fragmentHeadline($childRel.to)))
#end
#foreach ($childRel in $fragment.getChildRelations($publicOnly))
$utils.defaultIfNull($childRel.to.title, $emptyTitle)
#fragmentContentForDoc($childRel.to) #foreach ($grandchildRel in $childRel.to.getChildRelations($publicOnly))
$utils.defaultIfNull($grandchildRel.to.title, $emptyTitle) #if ($grandchildRel.to.hasChildren($publicOnly))
#end
#fragmentContentForDoc($grandchildRel.to)
#end ## foreach grandchildren
#end ## foreach children
#else ## fragment is null
#end