--- a/templates/ssm.xhtml.xsl Fri Oct 04 19:40:53 2019 +0200
+++ b/templates/ssm.xhtml.xsl Sat Oct 05 21:04:37 2019 +0200
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Sane Software Manifesto helper tools
+ Sane software manifesto helper tools
Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)
This program is free software: you can redistribute it and/or modify
@@ -31,6 +31,7 @@
<xsl:param name="versionTag"/>
<xsl:param name="versionDistance"/>
<xsl:param name="versionHash"/>
+ <xsl:param name="versionChangedFiles"/>
<xsl:output
method="xml"
@@ -58,6 +59,7 @@
<xsl:with-param name="tag" select="$versionTag"/>
<xsl:with-param name="distance" select="$versionDistance"/>
<xsl:with-param name="hash" select="$versionHash"/>
+ <xsl:with-param name="changedFiles" select="$versionChangedFiles"/>
</xsl:call-template>
</p>
@@ -67,16 +69,24 @@
<xsl:apply-templates select="m:chapter"/>
-
- <!-- TODO: move license information to XML file -->
<hr/>
<p class="footer">
- <a href="https://sane-software.globalcode.info/">Sane Software Manifesto</a>
+ <a href="{m:url}">
+ <xsl:value-of select="m:title"/>
+ </a>
+ <!-- TODO: move also mailing list to XML file -->
(<a href="https://lists.globalcode.info/mailman3/postorius/lists/sane-software.lists.globalcode.info/">mailing list</a>, <a href="https://globalcode.info/mailing-lists.xhtml">rules</a>)
other formats: <a href="ssm.en.pdf">PDF</a>, <a href="ssm.en.txt">TXT</a>
<br/>
- Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)<br/>
- This manifesto is licensed under the <a href="https://creativecommons.org/licenses/by-nd/4.0/">Creative Commons Attribution-NoDerivatives 4.0 International License</a>.
+ Copyright © <xsl:value-of select="m:license/m:year"/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="m:author"/>
+ <br/>
+ <xsl:value-of select="m:license/m:prefix"/>
+ <a href="{m:license/m:url}">
+ <xsl:value-of select="m:license/m:name"/>
+ </a>
+ <xsl:value-of select="m:license/m:suffix"/>
</p>
</div>