We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.
I checked on my Publii site after having submitted a sitemap days ago. After inspecting my main URL, it said the “AMP Page is invalid” due to custom Javascript not being allowed.
I have AMP turned on in the Publii settings. I haven’t messed with anything. What’s going on? Please help as I want to make my new site discoverable and be able to use all Search Console features.
The mentioned issue is caused by the fact that most likely you put the plausible.js script into the amp files. Remove it and validate the page once again, I think it should help.
Bob, thanks again. I checked out the Plausible GitHub issue page and contributed.
I did review Google’s flagging of “custom Javascript, and it flagged Plausible and many other elements from the Body onwards. Are there any others using Publii with this issue? In the meantime, I may turn off AMP.