You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably the most edge case of edge cases, but I was trying to automatically generate multiple pages from a single content type and ran into a problem. The set up is this:
I set up two content types, 'resource' and 'landing page' that have the same content model but are separate in Contentful and use separate templates.
I needed to add thank you pages to redirect people to, so I created a thank you page layout and made a second call to 'resource' with a different name and the thank you layout. I also made a second call to 'landing page' and used the same thank you template.
Doing so caused only the landing page thank you pages to output, but all the data was present in the output JSON file.
I took a wild guess and just copied the templates so each content type used its own layout and that fixed it.
Not sure if this is something that needs changed or documented, but I wanted to put this out there for thoughts.
The text was updated successfully, but these errors were encountered:
This is probably the most edge case of edge cases, but I was trying to automatically generate multiple pages from a single content type and ran into a problem. The set up is this:
I took a wild guess and just copied the templates so each content type used its own layout and that fixed it.
Not sure if this is something that needs changed or documented, but I wanted to put this out there for thoughts.
The text was updated successfully, but these errors were encountered: