aboutsummaryrefslogtreecommitdiff
path: root/source/99_result
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-08 00:09:50 +0200
committerAdrian Kummerlaender2014-08-08 00:09:50 +0200
commit3d42851caef5d7c8bf5d1664cd26abddac3e5cd0 (patch)
tree97dd7ddb927388433b5bf8da28cf45118bd21356 /source/99_result
parent7dd987dc800a0475c69043e5bbf9c44a82166156 (diff)
downloadblog.kummerlaender.eu-3d42851caef5d7c8bf5d1664cd26abddac3e5cd0.tar
blog.kummerlaender.eu-3d42851caef5d7c8bf5d1664cd26abddac3e5cd0.tar.gz
blog.kummerlaender.eu-3d42851caef5d7c8bf5d1664cd26abddac3e5cd0.tar.bz2
blog.kummerlaender.eu-3d42851caef5d7c8bf5d1664cd26abddac3e5cd0.tar.lz
blog.kummerlaender.eu-3d42851caef5d7c8bf5d1664cd26abddac3e5cd0.tar.xz
blog.kummerlaender.eu-3d42851caef5d7c8bf5d1664cd26abddac3e5cd0.tar.zst
blog.kummerlaender.eu-3d42851caef5d7c8bf5d1664cd26abddac3e5cd0.zip
Fixed stream template article CSS classes
* last article on a page has to contain the CSS classes "last" and "article" ** previously the position had to be manually increased by one because of some whitespace-only nodes ** due to the removal of indentation to enable code highlighting this manual increase is not only unneeded but prevented the correct classes from being set
Diffstat (limited to 'source/99_result')
-rw-r--r--source/99_result/stream.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl
index 4a17280..629adea 100644
--- a/source/99_result/stream.xsl
+++ b/source/99_result/stream.xsl
@@ -71,7 +71,7 @@
<xsl:template match="page/entry/article">
<xsl:choose>
- <xsl:when test="position()+1 = last()">
+ <xsl:when test="position() = last()">
<div class="last article">
<xsl:call-template name="get_article">
<xsl:with-param name="handle" select="@handle"/>