Skip to content

Commit

Permalink
Don’t expect robots to be nested in seo
Browse files Browse the repository at this point in the history
New convention has SEO fields directly on page content types
  • Loading branch information
weotch committed Aug 27, 2021
1 parent f4d7542 commit d7bb151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/get-contentful-pages.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ makeQuery = ({ contentType, routeField = 'slug' }) ->
items {
... on #{upperFirst(contentType)} {
#{routeField}
seo { robots }
robots
}
}
}
Expand Down

0 comments on commit d7bb151

Please sign in to comment.