diff options
Removed unnecessary absolute links
* there is no reason for generating absolute links as the resulting pages will be served on their own domain
Diffstat (limited to 'source/99_result')
-rw-r--r-- | source/99_result/archive.xsl | 2 | ||||
-rw-r--r-- | source/99_result/article/article.xsl | 4 | ||||
-rw-r--r-- | source/99_result/category/category.xsl | 2 | ||||
-rw-r--r-- | source/99_result/page/page.xsl | 2 | ||||
-rw-r--r-- | source/99_result/stream.xsl | 8 | ||||
-rw-r--r-- | source/99_result/tag/tag.xsl | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/source/99_result/archive.xsl b/source/99_result/archive.xsl index 62861a5..909f77f 100644 --- a/source/99_result/archive.xsl +++ b/source/99_result/archive.xsl @@ -48,7 +48,7 @@ <xsl:template match="entry/article"> <li> - <a href="{$url}/article/{@handle}"> + <a href="/article/{@handle}"> <xsl:value-of select="title"/> </a> </li> diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl index 48b73e4..9ce19df 100644 --- a/source/99_result/article/article.xsl +++ b/source/99_result/article/article.xsl @@ -21,7 +21,7 @@ <div class="article"> <h2> <xsl:text>» </xsl:text> - <a href="{$url}/article/{@handle}"> + <a href="/article/{@handle}"> <xsl:value-of select="title"/> </a> </h2> @@ -32,7 +32,7 @@ </xsl:call-template> <xsl:text> | </xsl:text> <xsl:for-each select="tags/tag"> - <a href="{$url}/tag/{.}"> + <a href="/tag/{.}"> <xsl:value-of select="."/> </a> </xsl:for-each> diff --git a/source/99_result/category/category.xsl b/source/99_result/category/category.xsl index a2c6db5..4b49705 100644 --- a/source/99_result/category/category.xsl +++ b/source/99_result/category/category.xsl @@ -21,7 +21,7 @@ <xsl:template match="entry/page"> <li> <em>»</em> - <a href="{$url}/page/{@handle}"> + <a href="/page/{@handle}"> <strong><xsl:value-of select="title"/></strong> <p> <xsl:copy-of select="digest/node()"/> diff --git a/source/99_result/page/page.xsl b/source/99_result/page/page.xsl index 1c1b5d0..b703f46 100644 --- a/source/99_result/page/page.xsl +++ b/source/99_result/page/page.xsl @@ -20,7 +20,7 @@ <div class="last article"> <h2> <xsl:text>» </xsl:text> - <a href="{$url}/page/{@handle}"> + <a href="/page/{@handle}"> <xsl:value-of select="title"/> </a> </h2> diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl index 9d5e8b5..3fe93e1 100644 --- a/source/99_result/stream.xsl +++ b/source/99_result/stream.xsl @@ -33,7 +33,7 @@ <h2> <xsl:text>» </xsl:text> - <a href="{$url}/article/{$handle}"> + <a href="/article/{$handle}"> <xsl:value-of select="$article/title"/> </a> </h2> @@ -44,7 +44,7 @@ </xsl:call-template> <xsl:text> | </xsl:text> <xsl:for-each select="$article/tags/tag"> - <a href="{$url}/tag/{.}"> + <a href="/tag/{.}"> <xsl:value-of select="."/> </a> </xsl:for-each> @@ -60,14 +60,14 @@ <div id="pagination"> <xsl:if test="@index > 0"> <span> - <a class="pagination-previous" href="{$url}/{@index - 1}"> + <a class="pagination-previous" href="/{@index - 1}"> <xsl:text>« newer</xsl:text> </a> </span> </xsl:if> <xsl:if test="@index < @total - 1"> <span> - <a class="pagination-next" href="{$url}/{@index + 1}"> + <a class="pagination-next" href="/{@index + 1}"> <xsl:text>older »</xsl:text> </a> </span> diff --git a/source/99_result/tag/tag.xsl b/source/99_result/tag/tag.xsl index f64f526..a727111 100644 --- a/source/99_result/tag/tag.xsl +++ b/source/99_result/tag/tag.xsl @@ -31,7 +31,7 @@ <li> <xsl:value-of select="date"/> <xsl:text> » </xsl:text> - <a href="{$url}/article/{@handle}"> + <a href="/article/{@handle}"> <xsl:value-of select="title"/> </a> </li> |