Fix supporter referal links
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
0edc6cfc57
commit
d2f5353832
@ -12,8 +12,8 @@
|
||||
<xsl:attribute name="type">hidden</xsl:attribute>
|
||||
<xsl:attribute name="name">referrer</xsl:attribute>
|
||||
<xsl:attribute name="value">
|
||||
<xsl:text>https://fsfe.org</xsl:text>
|
||||
<xsl:value-of select="/buildinfo/@filename"/>
|
||||
<xsl:text>https://fsfe.org/</xsl:text>
|
||||
<xsl:value-of select="substring-after(substring-after(/buildinfo/@filename,'/'),'/')"/>
|
||||
<xsl:text>.html</xsl:text>
|
||||
</xsl:attribute>
|
||||
</xsl:element>
|
||||
@ -23,8 +23,8 @@
|
||||
<xsl:template match="fsfe-cd-donate-link">
|
||||
<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:text>https://my.fsfe.org/donate?referrer=https://fsfe.org/</xsl:text>
|
||||
<xsl:value-of select="substring-after(substring-after(/buildinfo/@filename,'/'),'/')"/>
|
||||
<xsl:text>.html</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
|
Loading…
Reference in New Issue
Block a user