Pages

15 October 2020

AMP Validation errors and the use of this template

 Does this template pass AMP Validation?

No, it does not. There are some limitations in Blogger that I find it impossible to workaround at the moment. Some of them are

  • The style tags in the error are inserted automatically by Blogger. Some of them such as b:skin cannot be removed.
  • The quickedit icon which causes 3 errors is part of footer and I don't know how to remove it. I have removed all other quick edit icons.
  • ATOM/XML is a valid MIME type. Ref: IANA. But the AMP validator doesn't recognize it.

If it does not pass the validation, what is the purpose of this template?

The main goal of this template when I started working on this was to make the blog responsive on mobile along with the images and videos in it, instead of having two different views for mobile and desktop. AMP was a good way to do this. Maybe one day it will be possible to workaround the limitations and create a template that passes AMP Validation. Until, then this is my best. If you feel you can contribute, check out the GitHub repo. The entire template is open source.