fix: no entry without teaser
This commit is contained in:
parent
342a87a114
commit
c69435c63f
|
@ -110,7 +110,7 @@ time { font-family: Arial, sans-serif; font-size: 10pt; }</xsl:text>
|
|||
</xsl:if>
|
||||
|
||||
<!-- limit on last n elements -->
|
||||
<xsl:if test="((count(teaser)>0) or (count(preface)>0)) and (($limitelements = 0) or ((position() <= $limitelements) and ($limitelements > 0)))">
|
||||
<xsl:if test="(count(teaser)>0) and (($limitelements = 0) or ((position() <= $limitelements) and ($limitelements > 0)))">
|
||||
|
||||
<xsl:element name="p">
|
||||
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
||||
|
|
Loading…
Reference in New Issue