summaryrefslogtreecommitdiff
path: root/xsl/layout.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xsl/layout.xsl')
-rw-r--r--xsl/layout.xsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/xsl/layout.xsl b/xsl/layout.xsl
index 3f4cc07..e58c622 100644
--- a/xsl/layout.xsl
+++ b/xsl/layout.xsl
@@ -20,6 +20,13 @@
</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width" />
+ <xsl:if test="/s:html/@robots">
+ <meta name="robots">
+ <xsl:attribute name="content">
+ <xsl:value-of select="/s:html/@robots" />
+ </xsl:attribute>
+ </meta>
+ </xsl:if>
<style><xsl:value-of select="$stylesheet"/></style>
</head>
<body>