@darth-knoppix/gatsby-plugin-amp-light

1.0.1 • Public • Published

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

/@darth-knoppix/gatsby-plugin-amp-light/

    Package Sidebar

    Install

    npm i @darth-knoppix/gatsby-plugin-amp-light

    Weekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    7.94 kB

    Total Files

    7

    Last publish

    Collaborators

    • darth_knoppix