diff src/pages/g/page_meta.py @ 953:5cdd77190a3b

pages(g): use norobots in guest pages
author Goffi <goffi@goffi.org>
date Sat, 24 Jun 2017 20:19:30 +0200
parents 43df2bf38787
children 01e95ec9df9e
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: