Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-amp-light

A lightweight Gatsby plugin for creating AMP pages

What does it do?

Sets up the boilerplate for AMP and removes scripts to conform to the AMP standard.

How do I use it?

Include it as a plugin, it accepts two options (both are optional)

  1. language the language code to add to <html />. Default undefined
  2. pathIdentifier the folder in pages that AMP should be served from. Default: /amp
© 2023 Gatsby, Inc.