Add option to add robots=noindex meta tag

This commit is contained in:
Raphael Michel
2018-10-03 11:15:59 +02:00
parent d99517c8d1
commit d798da33ef
3 changed files with 9 additions and 0 deletions

View File

@@ -919,6 +919,9 @@ class DisplaySettingsForm(SettingsForm):
('name_descending', _('Name (descending)')),
], # When adding a new ordering, remember to also define it in the event model
)
meta_noindex = forms.BooleanField(
label=_('Ask search engines not to index the ticket shop')
)
def __init__(self, *args, **kwargs):
event = kwargs['obj']