autotopia xsl: add $baseurl to links

This commit is contained in:
Astro 2019-04-16 15:51:42 +02:00
parent 57aba00b03
commit 5bcd556662
1 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@
<xsl:with-param name="date" select="@date"/>
</xsl:call-template>
</date>
<a href="https://www.c3d2.de/{substring-before(substring-after($newsfile, 'content/'), '.xml')}.html" class="url">
<a href="{$baseurl}/news/{substring-before(substring-after($newsfile, 'content/'), '.xml')}.html" class="url">
<xsl:value-of select="@title"/>
</a>
</h3>
@ -188,7 +188,7 @@
<xsl:value-of select="speaker"/>
</td>
<td>
<a href="{str:replace(str:replace($file, 'content/autotopia/', ''), '.xml', '.html')}">
<a href="{$baseurl}{str:replace(str:replace($file, 'content/autotopia/', ''), '.xml', '.html')}">
<xsl:for-each select="title">
<span lang="{@lang}">
<xsl:value-of select="."/>