Mercurial > libervia-web
comparison 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 |
comparison
equal
deleted
inserted
replaced
952:0f309eeef26d | 953:5cdd77190a3b |
---|---|
73 profile = profile))) | 73 profile = profile))) |
74 sat_session.profile = profile | 74 sat_session.profile = profile |
75 | 75 |
76 # we copy data useful in templates | 76 # we copy data useful in templates |
77 template_data = request.template_data | 77 template_data = request.template_data |
78 template_data['norobots'] = True | |
78 if u'name' in data: | 79 if u'name' in data: |
79 template_data[u'name'] = data[u'name'] | 80 template_data[u'name'] = data[u'name'] |
80 if u'language' in data: | 81 if u'language' in data: |
81 template_data[u'locale'] = data[u'language'] | 82 template_data[u'locale'] = data[u'language'] |
82 | 83 |