aboutsummaryrefslogtreecommitdiff
path: root/templates/index.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.xsl')
-rw-r--r--templates/index.xsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/index.xsl b/templates/index.xsl
index 35300ec..091959e 100644
--- a/templates/index.xsl
+++ b/templates/index.xsl
@@ -30,6 +30,9 @@
<body>
<xsl:call-template name="page-header"/>
<main>
+ <xsl:if test="@kind = 'challenges'">
+ <xsl:attribute name="class">challenge-page</xsl:attribute>
+ </xsl:if>
<xsl:if test="@title">
<h1><xsl:value-of select="@title"/></h1>
</xsl:if>
@@ -78,6 +81,11 @@
<xsl:template match="form">
<xsl:copy-of select="."/>
+ <xsl:if test="position() != last()">
+ <challenge-separator>
+ <xsl:value-of select="psso:L('challenge.separator')"/>
+ </challenge-separator>
+ </xsl:if>
</xsl:template>
</xsl:stylesheet>