Community Plugin
View plugin on GitHubgatsby-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)
language
the language code to add to<html />
. Defaultundefined
pathIdentifier
the folder in pages that AMP should be served from. Default:/amp