fix: use fileurl for several links, fixing them
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Darragh Elliott 2024-09-18 17:56:05 +01:00
parent c0682c8522
commit 948cfa52ed
6 changed files with 6 additions and 6 deletions

View File

@ -274,7 +274,7 @@
</xsl:element>
<xsl:element name="meta">
<xsl:attribute name="property">og:url</xsl:attribute>
<xsl:attribute name="content">https://fsfe.org<xsl:value-of select="/buildinfo/@filename"/>.html</xsl:attribute>
<xsl:attribute name="content">https://fsfe.org<xsl:value-of select="/buildinfo/@fileurl"/>.html</xsl:attribute>
</xsl:element>
<xsl:element name="meta">
<xsl:attribute name="property">og:title</xsl:attribute>

View File

@ -216,7 +216,7 @@
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="$urlprefix"/>
<xsl:value-of select="/buildinfo/@filename"/>
<xsl:value-of select="/buildinfo/@fileurl"/>
<xsl:text>.en.html</xsl:text>
</xsl:attribute>
<xsl:call-template name="fsfe-gettext">

View File

@ -79,7 +79,7 @@
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:text>https://my.fsfe.org/donate?referrer=https://fsfe.org</xsl:text>
<xsl:value-of select="/buildinfo/@filename"/>
<xsl:value-of select="/buildinfo/@fileurl"/>
<xsl:text>.html</xsl:text>
</xsl:attribute>
<xsl:element name="i">

View File

@ -39,7 +39,7 @@
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="$urlprefix"/>
<xsl:value-of select="/buildinfo/@filename"/>
<xsl:value-of select="/buildinfo/@fileurl"/>
<xsl:text>.en.html</xsl:text>
</xsl:attribute>
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'translator3b'" /></xsl:call-template>

View File

@ -13,7 +13,7 @@
<!-- article URL -->
<xsl:variable name="share-url">
<xsl:text>https://fsfe.org</xsl:text>
<xsl:value-of select="/buildinfo/@filename"/>
<xsl:value-of select="/buildinfo/@url"/>
<xsl:text>.html</xsl:text>
</xsl:variable>

View File

@ -38,7 +38,7 @@
<xsl:attribute name="rel">alternate</xsl:attribute>
<xsl:attribute name="hreflang"><xsl:value-of select="@id" /></xsl:attribute>
<xsl:attribute name="lang"><xsl:value-of select="@id" /></xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="/buildinfo/@filename"/>.<xsl:value-of select="@id"/>.html</xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="/buildinfo/@fileurl"/>.<xsl:value-of select="@id"/>.html</xsl:attribute>
<xsl:attribute name="title"><xsl:value-of select="." disable-output-escaping="yes" /></xsl:attribute>
</xsl:element>
</xsl:for-each>