Skip to content

Commit 5ec8c88

Browse files
committed
oops I forgot to add the noindex field to promote panel
1 parent dbb04f5 commit 5ec8c88

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

authors/models.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,17 @@ class AuthorPage(RoutablePageMixin, Page):
188188
heading="Optional Stuff",
189189
),
190190
]
191+
192+
promote_panels = Page.promote_panels + [
193+
MultiFieldPanel(
194+
[
195+
FieldPanel("noindex"),
196+
],
197+
heading="Special search engine-related meta tagging",
198+
),
199+
]
200+
201+
191202
#-----Search fields etc-----
192203
#See https://docs.wagtail.org/en/stable/topics/search/indexing.html
193204
search_fields = Page.search_fields + [

0 commit comments

Comments
 (0)