autotopia xsl: add $baseurl to links
This commit is contained in:
parent
57aba00b03
commit
5bcd556662
|
@ -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="."/>
|
||||
|
|
Loading…
Reference in New Issue