mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
08376431b4
The meson conversion lost the <meta> tags providing the go-import, because the "$pagename" variable lost the .html suffix. Rather than fix that, just change to using "$pagesrc" instead, as it is a better fit. The 404 page also needs to use absolute links to work correctly for pages in sub-folders. Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
25 lines
597 B
XML
25 lines
597 B
XML
<?xml version="1.0"?>
|
|
<xsl:stylesheet
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:exsl="http://exslt.org/common"
|
|
exclude-result-prefixes="xsl exsl"
|
|
version="1.0">
|
|
|
|
<xsl:import href="page.xsl"/>
|
|
|
|
<xsl:output
|
|
method="xml"
|
|
encoding="UTF-8"
|
|
indent="yes"/>
|
|
|
|
<xsl:variable name="href_base" select="'../'"/>
|
|
|
|
<xsl:template match="/">
|
|
<xsl:apply-templates select="." mode="page">
|
|
<xsl:with-param name="pagesrc" select="$pagesrc"/>
|
|
<xsl:with-param name="timestamp" select="$timestamp"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|