aboutsummaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-09-09 18:11:26 +0200
committerAdrian Kummerlaender2014-09-09 18:11:26 +0200
commit370e42ede122348c05a67ed9605b61082474e228 (patch)
tree8906fb3d6b24d83c94ad4923142d481cf5473375 /utility
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 'utility')
-rw-r--r--utility/master.xsl19
1 files changed, 9 insertions, 10 deletions
diff --git a/utility/master.xsl b/utility/master.xsl
index 3c8b211..15d5c13 100644
--- a/utility/master.xsl
+++ b/utility/master.xsl
@@ -14,13 +14,12 @@
/>
<xsl:variable name="root" select="/datasource"/>
-<xsl:variable name="url" select="$root/meta/url"/>
<xsl:template name="list_tags">
<ul>
<xsl:for-each select="$root/meta/tags/entry">
<li>
- <a href="{$url}/tag/{@handle}">
+ <a href="/tag/{@handle}">
<xsl:value-of select="@handle"/>
</a>
</li>
@@ -37,7 +36,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title><xsl:call-template name="title-text"/> @ <xsl:value-of select="$root/meta/title"/></title>
- <link rel="stylesheet" type="text/css" href="{$url}/main.css" />
+ <link rel="stylesheet" type="text/css" href="/main.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
@@ -47,11 +46,11 @@
<div id="nav_wrap">
<h1><xsl:value-of select="$root/meta/title"/></h1>
<ul>
- <li><a href="{$url}/0">Start</a></li>
- <li><a href="{$url}/archive">Archive</a></li>
- <li><a href="{$url}/category/projects">Projects</a></li>
- <li><a href="{$url}/page/contact">Contact</a></li>
- <li class="last_item"><a href="{$url}/atom.xml">Feed</a></li>
+ <li><a href="/0">Start</a></li>
+ <li><a href="/archive">Archive</a></li>
+ <li><a href="/category/projects">Projects</a></li>
+ <li><a href="/page/contact">Contact</a></li>
+ <li class="last_item"><a href="/atom.xml">Feed</a></li>
</ul>
</div>
<div id="main">
@@ -65,8 +64,8 @@
<div id="last_line">
<a href="https://github.com/KnairdA/blog.kummerlaender.eu">Made with XSLT</a>
<ul>
- <li><a href="{$url}/page/contact">Contact</a></li>
- <li class="last_item"><a href="{$url}/atom.xml">Feed</a></li>
+ <li><a href="/page/contact">Contact</a></li>
+ <li class="last_item"><a href="/atom.xml">Feed</a></li>
</ul>
</div>
</div>