aboutsummaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-27 16:28:12 +0200
committerAdrian Kummerlaender2014-07-27 16:28:12 +0200
commitfd62bfc0bae405843d8448c42bdb6379196f1213 (patch)
treec9cd7cafb447bcd9b11adfc0fa32fe77cea2103d /utility
parent1154d9af6485afc152106dcb44613c5e178d194d (diff)
downloadblog.kummerlaender.eu-fd62bfc0bae405843d8448c42bdb6379196f1213.tar
blog.kummerlaender.eu-fd62bfc0bae405843d8448c42bdb6379196f1213.tar.gz
blog.kummerlaender.eu-fd62bfc0bae405843d8448c42bdb6379196f1213.tar.bz2
blog.kummerlaender.eu-fd62bfc0bae405843d8448c42bdb6379196f1213.tar.lz
blog.kummerlaender.eu-fd62bfc0bae405843d8448c42bdb6379196f1213.tar.xz
blog.kummerlaender.eu-fd62bfc0bae405843d8448c42bdb6379196f1213.tar.zst
blog.kummerlaender.eu-fd62bfc0bae405843d8448c42bdb6379196f1213.zip
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)
Diffstat (limited to 'utility')
-rw-r--r--utility/master.xsl2
1 files changed, 1 insertions, 1 deletions
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 @@
<div id="nav_wrap">
<h1><xsl:value-of select="datasource/meta/title"/></h1>
<ul>
- <li><a href="{$url}">Start</a></li>
+ <li><a href="{$url}/0">Start</a></li>
<li><a href="{$url}/archive">Archive</a></li>
<li><a href="{$url}/projects">Projects</a></li>
<li><a href="{$url}/page/contact">Contact</a></li>