Commit cb7c1369 authored by Romain Courteaud's avatar Romain Courteaud

erp5_xhtml_style: fixup: do not index xhtml style by default

Web Site/Section were still indexable when rendering in xhtml style.

See 6c5db57b
parent b1810b11
......@@ -22,7 +22,7 @@ DEPRECATION:
<head>
<tal:block metal:use-macro="global_definitions_macros/header_boilerplate" />
<meta name="generator" content="ERP5 - Copyright (C) 2001 - 2015. All rights reserved." />
<meta name="robots" tal:attributes="content python: 'noindex, nofollow, noarchive, noimageindex, nosnippet' if here.getWebSiteValue() is None else 'index, follow'"/>
<meta name="robots" tal:attributes="content python: 'noindex, nofollow, noarchive, noimageindex, nosnippet' if ((here.getWebSiteValue() is None) or (request.get('ignore_layout', 0))) else 'index, follow'"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="google" content="notranslate">
<tal:block metal:use-macro="global_definitions_macros/render_css_js" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment