summaryrefslogtreecommitdiff
path: root/xsl
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@gmail.com>2017-07-22 16:11:14 +0200
committerBenjamin Franzke <benjaminfranzke@gmail.com>2017-07-22 16:11:14 +0200
commit871602b4a7e1099390bbcf6589c5c6aee745bd13 (patch)
treee6ff26adde635faad1032859e9e83982ba5c94e5 /xsl
parentbc704db72df66003cdf7909abd26887a4c1bc10a (diff)
downloadmutti-web-871602b4a7e1099390bbcf6589c5c6aee745bd13.tar.gz
mutti-web-871602b4a7e1099390bbcf6589c5c6aee745bd13.tar.bz2
mutti-web-871602b4a7e1099390bbcf6589c5c6aee745bd13.zip
Exclude imprint from search engine indexes
Diffstat (limited to '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>