summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xsl/layout.xsl5
1 files changed, 1 insertions, 4 deletions
diff --git a/xsl/layout.xsl b/xsl/layout.xsl
index efe846c..813a161 100644
--- a/xsl/layout.xsl
+++ b/xsl/layout.xsl
@@ -21,10 +21,7 @@
<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 name="robots" content="{/s:html/@robots}">
</meta>
</xsl:if>
<style><xsl:value-of select="$stylesheet"/></style>