netlify-plugin-amp-server-side-rendering icon indicating copy to clipboard operation
netlify-plugin-amp-server-side-rendering copied to clipboard

not following the AMP HTML format

Open amerfathullah opened this issue 2 years ago • 0 comments
trafficstars

Hi, I've installed the plugins via the Netlify integrations page. and after deploying my site and testing it in Google AMP Test, it returns a lot of invalid AMP page reasons.

here are some of the reasons:

  • Disallowed attribute or attribute value present in HTML tag.
  • A tag on this page requires an AMP component 'script' tag, which is missing.
  • Tag found outside the document head which is only allowed as a direct child of the document head.
  • Only amp-boilerplate and amp-custom 'style' tags are allowed, and only in the document head.
  • A mandatory attribute is missing from an HTML tag.
  • HTML Event attributes, aka 'on*', are not allowed in AMP. Instead, use 'amp-bind'.

amerfathullah avatar Apr 11 '23 06:04 amerfathullah