diff options
-rw-r--r-- | imprint.xml | 2 | ||||
-rw-r--r-- | xsl/layout.xsl | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/imprint.xml b/imprint.xml index 94088e2..aedbc54 100644 --- a/imprint.xml +++ b/imprint.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <?xml-stylesheet type="text/xsl" href="xsl/layout.xsl"?> -<s:html name="imprint.xml" +<s:html name="imprint.xml" robots="noindex,follow" xmlns="http://www.w3.org/1999/xhtml" xmlns:s="https://beratung-franzke.de/web-tpl"> 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> |