Skip to content

Commit

Permalink
output technique title with technique ID in links
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Cooper committed Aug 16, 2018
1 parent e78f3fa commit 3d9f930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xslt/generate-techniques.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<xsl:template name="technique-link">
<xsl:param name="technique" select="."/>
<xsl:choose>
<xsl:when test="$technique"><a href="../{$technique/parent::technology/@name}/{$technique/@id}"><xsl:value-of select="$technique/@id"/></a></xsl:when>
<xsl:when test="$technique"><a href="../{$technique/parent::technology/@name}/{$technique/@id}"><xsl:value-of select="$technique/@id"/>: <xsl:value-of select="$technique/title"/></a></xsl:when>
<xsl:otherwise>an unwritten technique</xsl:otherwise>
</xsl:choose>

Expand Down

0 comments on commit 3d9f930

Please sign in to comment.