Global app data from CMS #12595
Answered
by
rafaelalmeidatk
tobiastornros
asked this question in
Help
-
Hi, We use Sanity as CMS for our sites and we have a page configured in the CMS to collect all information that are "static"/global for the site. Often called Site Settings in the CMS-world. It could be information or content such as social icons, images, company information for footer, cookie banner content for example. Where are we supposed to fetch this information on first render/build time with next.js? |
Beta Was this translation helpful? Give feedback.
Answered by
rafaelalmeidatk
Jun 17, 2020
Replies: 1 comment 3 replies
-
The |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
tobiastornros
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
_app
page seems to be a good place to fetch this info, since it is a wrapper around all the pages