mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
Merge pull request #1308 from Flowdalic/bibtex-url
Disable the biblatex url links to the versioned XEP for now
This commit is contained in:
commit
79dcfa7154
4
xep.xsl
4
xep.xsl
@ -534,7 +534,9 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
|
|||||||
<xsl:variable name="bibtex-url">
|
<xsl:variable name="bibtex-url">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<!-- XEPs after a certain number have an immutable version to which we preferably link -->
|
<!-- XEPs after a certain number have an immutable version to which we preferably link -->
|
||||||
<xsl:when test='/xep/header/number > 300'>
|
<!-- TODO: We currently have no versioned link for the latest version of a XEP,
|
||||||
|
hence the logic below is disabled for all XEPs, by testing for XEP version number > 99999 -->
|
||||||
|
<xsl:when test='/xep/header/number > 999999'>
|
||||||
<xsl:text>https://xmpp.org/extensions/attic/xep-</xsl:text>
|
<xsl:text>https://xmpp.org/extensions/attic/xep-</xsl:text>
|
||||||
<xsl:value-of select='/xep/header/number'/>
|
<xsl:value-of select='/xep/header/number'/>
|
||||||
<xsl:text>-</xsl:text>
|
<xsl:text>-</xsl:text>
|
||||||
|
Loading…
Reference in New Issue
Block a user