File tree Expand file tree Collapse file tree
src/kitconcept/seo/behaviors Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ class ISeo(model.Schema):
1818 fields = [
1919 "seo_title" ,
2020 "seo_description" ,
21+ "google_preview" ,
2122 "seo_noindex" ,
2223 "seo_canonical_url" ,
2324 "opengraph_title" ,
@@ -26,6 +27,19 @@ class ISeo(model.Schema):
2627 ],
2728 )
2829
30+ directives .widget (
31+ "google_preview" ,
32+ frontendOptions = {
33+ "widget" : "googleSearchPreviewWidget" ,
34+ },
35+ )
36+
37+ google_preview = schema .Text (
38+ title = _ ("Search Result Preview" ),
39+ required = False ,
40+ missing_value = None ,
41+ )
42+
2943 directives .widget (
3044 "seo_title" ,
3145 frontendOptions = {
@@ -59,7 +73,6 @@ class ISeo(model.Schema):
5973 ),
6074 required = False ,
6175 )
62-
6376 # https://support.google.com/webmasters/answer/93710?hl=en
6477 seo_noindex = schema .Bool (
6578 title = _ ("No Index" ),
You can’t perform that action at this time.
0 commit comments