Define $urlprefix in place where it is always included
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f654181b59
commit
175c0de026
@ -2,6 +2,11 @@
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<!-- For pages used on external web servers, load the CSS from absolute URL -->
|
||||
<xsl:variable name="urlprefix">
|
||||
<xsl:if test="/buildinfo/document/@external">https://fsfe.org</xsl:if>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates select="buildinfo/document"/>
|
||||
</xsl:template>
|
||||
|
5
fsfe.xsl
5
fsfe.xsl
@ -13,11 +13,6 @@
|
||||
<xsl:import href="build/xslt/fsfe_head.xsl" />
|
||||
<xsl:import href="build/xslt/fsfe_body.xsl" />
|
||||
|
||||
<!-- For pages used on external web servers, load the CSS from absolute URL -->
|
||||
<xsl:variable name="urlprefix">
|
||||
<xsl:if test="/buildinfo/document/@external">https://fsfe.org</xsl:if>
|
||||
</xsl:variable>
|
||||
|
||||
<!-- EXTRACT / DESCRIPTION of each page -->
|
||||
<xsl:variable name="metadesc">
|
||||
<!-- Get the meta element description -->
|
||||
|
Loading…
Reference in New Issue
Block a user