Skip to content
master
Switch branches/tags
Go to file
Code
This branch is 5 commits ahead, 1455 commits behind gatsbyjs:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gatsby-amp-starter-blog

A gatsby v1 starter for creating an AMP compliant blog.

For a gatsby v0 version, see this version.

Obviously you will want to invest more time on css/amponly.scss on your project to add more needed styling

Not sure what Amp is? Learn about Project AMP.

Running in development

npm run develop

Building for production

To create a production build, run yarn run build

The build will output to the public directory and that directory will contain an amp directory which has the amp version of your site.

You can then spin up a web server using MAMP or your tool of choice locally that points to your public directory. And test that your site is AMP compliant using this Chrome Extension

Requirements

  • Every image must have an image and width so image tags must be added to markdown as html tags. Img tags haven't been switched out in this example but the change is trivial.

About

Gatsby starter for creating a blog

Resources

Releases

No releases published

Packages

No packages published