globalise urls now handles relative urls

This commit is contained in:
Matthew Exon 2024-06-20 20:33:32 +01:00
parent 58dc1ecef1
commit 7224eac3a3

View file

@ -22,5 +22,10 @@
<xsl:value-of select="concat('{{$rooturl}}',.)"/>
</xsl:attribute>
</xsl:template>
<xsl:template match="*/@src[not(contains(.,':'))]">
<xsl:attribute name="src">
<xsl:value-of select="concat('{{$dirurl}}',.)"/>
</xsl:attribute>
</xsl:template>
</xsl:stylesheet>