fix: use fileurl for several links, fixing them
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
c0682c8522
commit
948cfa52ed
@ -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>
|
||||
|
@ -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">
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user