Fix errors in query, fix line-ending problems

This commit is contained in:
Corbin Crutchley
2020-03-14 20:47:19 -07:00
parent 7ad677aa17
commit 83fee81b73
4 changed files with 2698 additions and 2881 deletions

View File

@@ -1,8 +1,16 @@
// I would rather have these in their respective plugins folders, but Gatsby
// didn't like having MarkdownRemarkFields implemented twice
exports.createSchemaCustomization = ({ actions }) => {
const { createTypes } = actions;
const typeDefs = `
type MarkdownRemarkFields implements Node {
inlineCount: Int
headingsWithId: [HeadingsWithId]
}
type HeadingsWithId {
value: String!
depth: Int!
slug: String!
}
`;
createTypes(typeDefs);