Supporess read-more link if there is nothing to link to
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Reinhard Müller 2020-05-30 08:07:06 +02:00
parent 40f628fb6b
commit 8971a74d6f

View File

@ -122,7 +122,7 @@
<xsl:for-each select="body/*">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
<xsl:if test="position()=last() and $link">
<xsl:if test="position()=last() and $link != ''">
<xsl:text>&#160;</xsl:text>
<xsl:element name="a">
<xsl:attribute name="class">learn-more</xsl:attribute>