When I run hugo -v I don’t see any errors, but the page that renders is blank. If I switch the theme back to amp or beautifulhugo it renders fine. I’m using hugo 0.47.
Any tips on how to debug this? If I go into the Chrome console I can see that the header is getting created and the body is there but has no content.
I’m new to AMP and still a novice when it comes to Hugo templates…
To debug issues like this with themes listed on the theme site your best bet is to:
Reference the included exampleSite as that’s what gets built to the theme site for demo purposes.
If exampleSite doesn’t exist reference the hugoBasicExample as that’s the fallback used when a custom example isn’t needed.
If the examples work you can rule out any environment or dependency problems on your machine, at which point you can:
Compare your site to the example and start adding stuff to yours until it works, or;
Compare the example to your site and start removing stuff until it doesn’t work.
Any config or content structural issues should be obvious at this point. If you want to drill down further you can start looking into customizing layouts in the theme to see what happens or override them in your site to do what you want.