Generate single page link correctly.
--- a/publish.xsl Wed May 16 20:05:30 2012 +1000
+++ b/publish.xsl Wed May 16 20:19:19 2012 +1000
@@ -1254,8 +1254,8 @@
</xsl:template>
<xsl:template match='edit:thisversion'>
- <xsl:variable name='url' select='if (@single-page = "") then $this-version else $this-version-single'/>
- <a href='{if (@single-page != "") then "single-page.html" else $url}' class='url'><xsl:value-of select='$url'/></a>
+ <xsl:variable name='url' select='if (@single-page) then $this-version-single else $this-version'/>
+ <a href='{if (@single-page) then "single-page.html" else $url}' class='url'><xsl:value-of select='$url'/></a>
</xsl:template>
<xsl:template match='edit:latestversion'>