I'm trying to get my blog's RSS feed setup correctly. I'm running Hugo and deploying through Netlify. When I try to look at the .xml file for the page I'm interested in (or the .xml files for any of the pages for that matter), I get the following error message:
This page contains the following errors: error on line 2 at column 6: XML declaration allowed only at the start of the document Below is a rendering of the page up to the first error.
It seems to be a common problem, and all of the solutions I've read so far are centered on removing arbitrary white space that is added to the beginning of the line, which throws up this error. However, when I look at the source code for the page, I don't see any white space.
I even pasted the source code in xmlvalidation.com, which said, yes, there is an error:
I'm new to all this and don't know what to make of any of this. Any suggestions would be most welcome. Thanks!