changeset 953:5cdd77190a3b

pages(g): use norobots in guest pages
author Goffi <goffi@goffi.org>
date Sat, 24 Jun 2017 20:19:30 +0200
parents 0f309eeef26d
children 7892f1a1e2cf
files src/pages/g/page_meta.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/pages/g/page_meta.py	Thu Jun 22 09:09:02 2017 +0200
+++ b/src/pages/g/page_meta.py	Sat Jun 24 20:19:30 2017 +0200
@@ -75,6 +75,7 @@
 
     # we copy data useful in templates
     template_data = request.template_data
+    template_data['norobots'] = True
     if u'name' in data:
         template_data[u'name'] = data[u'name']
     if u'language' in data: