Search code examples
amp-html

Validating AMP page issue


I am adding amp-html to our business website. I keep getting the error below,

The mandatory text (CDATA) inside tag 'head > style : boilerplate' is missing or incorrect.

I am following https://www.ampproject.org/docs/reference/spec.html#required-markup but I can't seem to find this last issue in the page can someone tell me what I am missing?

This is the link I am testing it with right now http://purencool.com.au/brand-derived-from-who-you-are/amp#development=1 and the attached image is the error that is showing

enter image description here


Solution

  • You need the AMP Boilerplate code somewhere in the <head> of your document.