My theme for forester (+plugins)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

support for @hidden-when-empty

+5 -1
+5 -1
tree.xsl
··· 287 287 <xsl:template match="f:backmatter//f:backmatter"> 288 288 </xsl:template> 289 289 290 - <xsl:template match="f:tree"> 290 + <xsl:template match="f:tree[f:mainmatter[*] or not(@hidden-when-empty = 'true')]"> 291 291 <section> 292 292 <xsl:attribute name="lang"> 293 293 <xsl:choose> ··· 333 333 334 334 <xsl:apply-templates select="f:backmatter" /> 335 335 </xsl:template> 336 + 337 + <xsl:template match="f:tree"></xsl:template> 338 + 339 + 336 340 337 341 </xsl:stylesheet>