diff options
author | Benjamin Franzke <benjaminfranzke@gmail.com> | 2018-05-22 14:59:44 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@gmail.com> | 2018-05-22 14:59:44 +0200 |
commit | 5d59983704c995a4cb9e180e5e18410c6cfa9047 (patch) | |
tree | 284d10e78dc4807a61daf5c7cf13ff35c2859dee /xsl | |
parent | 62be7636b86116d3efdaedf517e0e31723b9ac08 (diff) | |
download | mutti-web-5d59983704c995a4cb9e180e5e18410c6cfa9047.tar.gz mutti-web-5d59983704c995a4cb9e180e5e18410c6cfa9047.tar.bz2 mutti-web-5d59983704c995a4cb9e180e5e18410c6cfa9047.zip |
layout.xsl: Reduce code by using xpaths
Diffstat (limited to 'xsl')
-rw-r--r-- | xsl/layout.xsl | 5 |
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> |