A gatsby plugin for creating AMP pages

Usage no npm install needed!

<script type="module">
  import darthKnoppixGatsbyPluginAmpLight from 'https://cdn.skypack.dev/@darth-knoppix/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