summaryrefslogtreecommitdiff
path: root/xslt/mallard/common/mal-link.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/mallard/common/mal-link.xsl')
-rw-r--r--xslt/mallard/common/mal-link.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/mallard/common/mal-link.xsl b/xslt/mallard/common/mal-link.xsl
index 50f7e8c..1a77439 100644
--- a/xslt/mallard/common/mal-link.xsl
+++ b/xslt/mallard/common/mal-link.xsl
@@ -83,7 +83,7 @@ $role: A link role, used to select the appropriate title
<xsl:variable name="titles" select="key('mal.cache.key', $fullid)
/mal:info/mal:title[@type = 'link']"/>
<xsl:choose>
- <xsl:when test="$role != '' and $titles[@role = 'guide']">
+ <xsl:when test="$role != '' and $titles[@role = $role]">
<xsl:apply-templates mode="mal.link.content.mode"
select="$titles[@role = $role][1]/node()"/>
</xsl:when>