Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

chiedo/gatsby-amp-starter-blog

This branch is 5 commits ahead of, 1675 commits behind gatsbyjs/gatsby-starter-blog:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Chiedo
Jul 18, 2017
9d68151 · Jul 18, 2017

History

97 Commits
Jul 18, 2017
Nov 4, 2016
Jul 18, 2017
Jun 29, 2016
Jul 18, 2017
Jul 18, 2017
Feb 20, 2016
Jul 18, 2017
Jul 18, 2017
Nov 22, 2015
Jul 18, 2017
Jul 18, 2017
Sep 14, 2016
Jul 18, 2017
Jul 18, 2017

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.0%
  • CSS 23.0%