Skip to content

Added static-resolvers#21

Merged
TomasBankauskas merged 9 commits intomasterfrom
static-resolvers
Nov 30, 2021
Merged

Added static-resolvers#21
TomasBankauskas merged 9 commits intomasterfrom
static-resolvers

Conversation

@smnh
Copy link
Copy Markdown
Contributor

@smnh smnh commented Nov 17, 2021

  • moved the root path prop to page.__metadata.urlPath
  • simplified sourcebit.js: removed resolveReferenceFields() and postProcessContactFormEmails() plugins
  • added static-paths-resolvers.js and static-props-resolvers.js called from [[...slug]].js
  • moved postProcessContactFormEmails to FormBlock in static-props-resolvers.js
  • updated getStaticProps to be more explicit and not depend on sourcebit utility methods
  • added PostFeedLayout and PostCategoryLayout contentModels

Related PRs:
stackbit/stackbit-components#64
stackbit/stackbit-content-packs#15

smnh and others added 8 commits November 25, 2021 23:47
- moved the root `path` prop to `page.__metadata.urlPath`
- simplified sourcebit.js: removed resolveReferenceFields() and postProcessContactFormEmails() plugins
- added static-paths-resolvers.js and static-props-resolvers.js called from [[...slug]].js
- moved postProcessContactFormEmails to FormBlock in static-props-resolvers.js
- updated getStaticProps to be more explicit and not depend on sourcebit utility methods
- added PostFeedLayout and PostCategoryLayout contentModels
@TomasBankauskas TomasBankauskas merged commit 31e8af3 into master Nov 30, 2021
@TomasBankauskas TomasBankauskas deleted the static-resolvers branch November 30, 2021 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants