Supporess read-more link if there is nothing to link to
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
40f628fb6b
commit
8971a74d6f
@ -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> </xsl:text>
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="class">learn-more</xsl:attribute>
|
||||
|
Loading…
x
Reference in New Issue
Block a user