mirror of
https://github.com/kingomarnajjar/gatsby-starter-netlify-cms.git
synced 2026-07-25 22:27:24 +10:00
Correct path + remove unneeded graphql import
This commit is contained in:
parent
bdb1abdebc
commit
8e33279b6b
5 changed files with 3 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
templateKey: blog-post
|
||||
path: making-sense
|
||||
path: /making-sense
|
||||
title: Making sense of the SCAA’s new Flavor Wheel
|
||||
date: 2016-12-17T15:04:10.000Z
|
||||
description: The Coffee Taster’s Flavor Wheel, the official resource used by coffee tasters, has been revised for the first time this year.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import React from 'react'
|
||||
import Link from 'gatsby-link'
|
||||
import graphql from 'graphql'
|
||||
|
||||
export default class IndexPage extends React.Component {
|
||||
render() {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import React from 'react'
|
||||
import graphql from 'graphql'
|
||||
import Content, { HTMLContent } from '../components/Content'
|
||||
|
||||
export const AboutPageTemplate = ({ title, content, contentComponent }) => {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import React from 'react'
|
||||
import graphql from 'graphql'
|
||||
import Helmet from 'react-helmet'
|
||||
import Content, { HTMLContent } from '../components/Content'
|
||||
|
||||
|
|
@ -30,8 +29,8 @@ export const BlogPostTemplate = ({
|
|||
)
|
||||
}
|
||||
|
||||
export default ({ data }) => {
|
||||
const { markdownRemark: post } = data
|
||||
export default props => {
|
||||
const { markdownRemark: post } = props.data
|
||||
|
||||
return (
|
||||
<BlogPostTemplate
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import React from 'react'
|
||||
import graphql from 'graphql'
|
||||
import Features from '../components/Features'
|
||||
import Testimonials from '../components/Testimonials'
|
||||
import Pricing from '../components/Pricing'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue