summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2015-03-01 12:23:03 +0000
committerdakkar <dakkar@thenautilus.net>2015-03-01 12:23:45 +0000
commit69317dc4540f053e797b4df2a1aff35985786af4 (patch)
treec527936c1b2cfc65223e17f0a9fbb619166388e9 /templates
parentupcoming anime meetings (diff)
downloadthenautilus-69317dc4540f053e797b4df2a1aff35985786af4.tar.gz
thenautilus-69317dc4540f053e797b4df2a1aff35985786af4.tar.bz2
thenautilus-69317dc4540f053e797b4df2a1aff35985786af4.zip
make wrapper links http(s) automatically
Diffstat (limited to 'templates')
-rw-r--r--templates/du2html.xsl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/du2html.xsl b/templates/du2html.xsl
index ea08b49..1bd9c15 100644
--- a/templates/du2html.xsl
+++ b/templates/du2html.xsl
@@ -294,7 +294,7 @@
<x:template match="/document" mode="amazon">
<div id="amazon-wishlist">
- <a href="http://www.amazon.co.uk/registry/wishlist/INP247PNKQSZ">
+ <a href="//www.amazon.co.uk/registry/wishlist/INP247PNKQSZ">
<x:value-of select="$const-tr[@t='wishlist' and @l=$language]"/>
</a>
</div>
@@ -307,16 +307,16 @@
<x:template match="/document" mode="license">
<p class="license">
- <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/it/">
- <img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/2.5/it/88x31.png" />
+ <a rel="license" href="//creativecommons.org/licenses/by-sa/2.5/it/">
+ <img alt="Creative Commons License" style="border-width:0" src="//i.creativecommons.org/l/by-sa/2.5/it/88x31.png" />
</a>
- “<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" property="dc:title" rel="dc:type">
+ “<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="//purl.org/dc/dcmitype/Text" property="dc:title" rel="dc:type">
<x:value-of select="normalize-space(/document/title)"/>
</span>”
<x:value-of select="$const-tr[@t='by' and @l=$language]"/>
<a xmlns:cc="http://creativecommons.org/ns#" href="mailto:dakkar@thenautilus.net" property="cc:attributionName" rel="cc:attributionURL">Gianni Ceccarelli</a>
<x:value-of select="$const-tr[@t='license' and @l=$language]"/>
- <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/it/">Creative Commons By-SA 2.5 It</a>.
+ <a rel="license" href="//creativecommons.org/licenses/by-sa/2.5/it/">Creative Commons By-SA 2.5 It</a>.
</p>
</x:template>
@@ -480,4 +480,4 @@
<x:template match="field/field_name|field/field_body" mode="nav-links" priority="-1" />
-</x:stylesheet> \ No newline at end of file
+</x:stylesheet>