From fd62bfc0bae405843d8448c42bdb6379196f1213 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 27 Jul 2014 16:28:12 +0200 Subject: Improved article stream title-text template * returns "Start" for the first page instead of "Page 0" ** this corresponds to the navigation * changed "Start" navigation link in master template * i.e. the index page is named "0", server config will have to be changed accordingly ** thought about generating it as "index" directly ** while this is possible using the XPath evaluation functionality of the target meta attribute the lack of a if-statement in XPath 1.0 would require a very ugly workaround (e.g. the answer to http://stackoverflow.com/questions/971067/is-there-an-if-then-else-statement-in-xpath) --- source/99_result/stream.xsl | 9 ++++++++- utility/master.xsl | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl index 2d28043..603e574 100644 --- a/source/99_result/stream.xsl +++ b/source/99_result/stream.xsl @@ -22,7 +22,14 @@ - + + + Start + + + Page + + diff --git a/utility/master.xsl b/utility/master.xsl index cbc008b..698aed5 100644 --- a/utility/master.xsl +++ b/utility/master.xsl @@ -47,7 +47,7 @@