fix: no entry without teaser

This commit is contained in:
vv01f 2022-07-14 13:01:45 +02:00
parent 342a87a114
commit c69435c63f
1 changed files with 1 additions and 1 deletions

View File

@ -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)&gt;0) or (count(preface)&gt;0)) and (($limitelements = 0) or ((position() &lt;= $limitelements) and ($limitelements &gt; 0)))">
<xsl:if test="(count(teaser)&gt;0) and (($limitelements = 0) or ((position() &lt;= $limitelements) and ($limitelements &gt; 0)))">
<xsl:element name="p">
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>