@darth-knoppix/gatsby-plugin-amp-light
Version:
A gatsby plugin for creating AMP pages
14 lines (8 loc) • 435 B
Markdown
# 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`