mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 18:22:24 -05:00
Merge pull request #1310 from Flowdalic/dynamic-copyright-year
Extract the copyrigh years of a XEP from its revision
This commit is contained in:
commit
e39c61107a
5
xep.xsl
5
xep.xsl
@ -257,7 +257,10 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
|
|||||||
</ul></dd>
|
</ul></dd>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<dt>Copyright</dt>
|
<dt>Copyright</dt>
|
||||||
<dd>© 1999 – 2021 XMPP Standards Foundation. <a href='#appendix-legal'>SEE LEGAL NOTICES</a>.</dd>
|
<!-- Extract the copyright years from the dates via
|
||||||
|
substring(). If we ever use XSL 2.0, then we could use
|
||||||
|
year-from-date(xs:date()) -->
|
||||||
|
<dd>© <xsl:value-of select='substring(/xep/header/revision[position()=last()]/date,1,4)'/> – <xsl:value-of select='substring(/xep/header/revision[position()=1]/date,1,4)'/> XMPP Standards Foundation. <a href='#appendix-legal'>SEE LEGAL NOTICES</a>.</dd>
|
||||||
<dt>Status</dt>
|
<dt>Status</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><xsl:choose>
|
<p><xsl:choose>
|
||||||
|
Loading…
Reference in New Issue
Block a user