Hi,
In next release planned for beginning of 2023, we will remove AMP support in Publii at all, so we do not touch this functionality anymore.
If I can suggest (it is not a professional SEO advice – it is my opinion based on internet sources) – please consider disabling AMP as according to the internet sources AMP probably has no longer positive impact on search results as ranking factor: https://www.searchenginejournal.com/ranking-factors/amp-google/
AMP was designed to make mobile websites faster, but in fact websites generated by Publii usually are pretty fast if implemented correctly, so AMP looks like an additional overhead.
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!