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

This commit is contained in:
2020-05-30 08:07:06 +02:00
parent 40f628fb6b
commit 8971a74d6f
+1 -1
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>