Hello @Oyvind,
At the code level, both page and section models operate exactly the same except the section model doesn’t require a URL path and can be included in the page model.
const content = await getContent({
model: 'page', **// Pass inn more than one model?** // Not possible, currently not supported.
apiKey: YOUR_API_KEY,
userAttributes: {
urlPath,
},
});
To include section model within the page model, you will either need to make multiple fetch calls and renderContent
or use the builder editor to drop sections on the content page.