I'm using Hugo on Github Pages, and whenever I push my site to origin, I get this error message sent to my email:
The page build failed for the
master
branch with the following error: There was a YAML syntax error on line 2 column 1 in<unknown>
:did not find >expected key while parsing a block mapping
. For more information, see >https://help.github.com/articles/page-build-failed-invalid-yaml-in-data-file/. For information on troubleshooting Jekyll see: https://help.github.com/articles/troubleshooting-jekyll-builds If you have any questions you can contact us by replying to this email.
How can I fix this? I heard making a .nojekyll file in root helps, but I don't know how to do that
I've tried some solutions online that didn't work, and I created a nojekyll.nojekyll file in root to hopefully disable Jekyll, if that's the problem...