diff options
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.xsl | 2 |
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> |