aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-09-09 18:11:26 +0200
committerAdrian Kummerlaender2014-09-09 18:11:26 +0200
commit370e42ede122348c05a67ed9605b61082474e228 (patch)
tree8906fb3d6b24d83c94ad4923142d481cf5473375 /source
parent6af2607eb29404598fc68e0255262d7d59903d43 (diff)
downloadblog.kummerlaender.eu-370e42ede122348c05a67ed9605b61082474e228.tar
blog.kummerlaender.eu-370e42ede122348c05a67ed9605b61082474e228.tar.gz
blog.kummerlaender.eu-370e42ede122348c05a67ed9605b61082474e228.tar.bz2
blog.kummerlaender.eu-370e42ede122348c05a67ed9605b61082474e228.tar.lz
blog.kummerlaender.eu-370e42ede122348c05a67ed9605b61082474e228.tar.xz
blog.kummerlaender.eu-370e42ede122348c05a67ed9605b61082474e228.tar.zst
blog.kummerlaender.eu-370e42ede122348c05a67ed9605b61082474e228.zip
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')
-rw-r--r--source/99_result/archive.xsl2
-rw-r--r--source/99_result/article/article.xsl4
-rw-r--r--source/99_result/category/category.xsl2
-rw-r--r--source/99_result/page/page.xsl2
-rw-r--r--source/99_result/stream.xsl8
-rw-r--r--source/99_result/tag/tag.xsl2
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 &lt; @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>