Show product name under the book title on the ToC page
diff --git a/src/main/org/freemarker/docgen/templates/node-handlers.ftl b/src/main/org/freemarker/docgen/templates/node-handlers.ftl
index c4dee9b..00e1029 100644
--- a/src/main/org/freemarker/docgen/templates/node-handlers.ftl
+++ b/src/main/org/freemarker/docgen/templates/node-handlers.ftl
@@ -585,12 +585,16 @@
<#local classAtt = "">
<${htmlHElem} class="content-header header-${hierarElem.@docgen_rank}" <#if !disableAnchors && hierarElem.@id[0]??>id="${hierarElem.@id[0]}"</#if><#t>
- <#if htmlHLevel == 1> itemprop="name"</#if>><#t>
- <#recurse><#t>
+ <#if htmlHLevel == 1> itemprop="name"</#if>><#t>
+ <#recurse><#t>
<#local subtitleElem = u.getOptionalSubtitleElement(hierarElem)>
<#if subtitleElem?hasContent>
<span class="subtitle"><#recurse subtitleElem></span>
</#if>
+ <#local prodNameElem = .node?parent.productname>
+ <#if prodNameElem?hasContent>
+ <span class="subtitle productname">For <#recurse prodNameElem></span>
+ </#if>
</${htmlHElem}><#lt>
</#macro>