Skip to content

Commit

Permalink
Update programmatically-create-pages-from-data.md (#9873)
Browse files Browse the repository at this point in the history
Update the file title for templates/blog-post.js block code.
  • Loading branch information
migsar authored and KyleAMathews committed Nov 12, 2018
1 parent 88fffb5 commit d4b7561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/programmatically-create-pages-from-data.md
Expand Up @@ -65,7 +65,7 @@ The `createPage` action required that we specify the `component` template
that will be used to render the page. Here is an example of what the
referenced template could look like:

```javascript:title=gatsby-node.js
```javascript:title=blog-post.js
import React from "react"
import { graphql } from "gatsby"
import Layout from "../components/layout"
Expand Down

0 comments on commit d4b7561

Please sign in to comment.