I’ve been trying to debug an issue, where, the algolia-netlify plugin is working well and indexing the content on most of the pages on my nuxt site, but on a couple of pages, just the first couple of HTML tags go into the content and nothing else. There are no error messages here.
I’ve been working on the basis that there is something in the rendered HTML that the crawler doesn’t like, or sees as the end of the document, and stops. My very basic debugging approach has been to comment out sections of code, redpoloy to netlify, and see if the index for those pages then shows correctly.
Can i ask if anyone can help me out with any aspects of this please? Namely:
- Is there a better way I can debug this that redeploying to netlify?
- Any suggesions on what might be causing this, or where I can look to see in more detail what the crawler is doing?
This is one of the pages that is causing the issue: https://dev--aurora-alliance.netlify.app/what-we-do - the content for this page in the index is only: “Universities Professional Development. Learning for Societal Impact, Engaging Communities and Sustainability.”
The site is a statically generated nuxt site, all the data is fetched using asyncData() and is loaded on the server side.
Any suggestions much appreciated!