I’m fairly new to Qwik, Qwik City, and Builder so apologies in advance if this is a dumb question.
Working through the tutorials about integrating pages and using the demo code provided, I have two questions:
What is the best method of accessing the Builder page title and description and moving those to the head export?
If you implement the […slug] folder and index.tsx file, doesn’t this mean there will never be a 404 handled by Qwik City? Is there a way to check whether the page exists in Builder, and if not fallback to a 404?
I may have solved the first issue by moving the getContent call into a loader, which then allows me to use resolveValue in the head export to get the data from getContent there. Here’s the code in case helpful to anyone else.