assets/index.xsl in cobench-0.0.44 vs assets/index.xsl in cobench-0.0.45
- old
+ new
@@ -198,9 +198,20 @@
<xsl:value-of select="@subtitle"/>
</xsl:for-each>
<xsl:text>.</xsl:text>
</p>
<p>
+ <xsl:text>Score = </xsl:text>
+ <xsl:for-each select="cobench/weights/w[. != '0']">
+ <xsl:if test="position() > 1">
+ <xsl:text> + </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="."/>
+ <xsl:text>×</xsl:text>
+ <xsl:value-of select="@id"/>
+ </xsl:for-each>
+ </p>
+ <p>
<xsl:text>The page was generated by </xsl:text>
<a href="https://github.com/yegor256/cobench">
<xsl:text>cobench</xsl:text>
<xsl:text> </xsl:text>
<xsl:value-of select="$version"/>