Migrated author info to use GraphQL, added pronouns support to GraphQL

This commit is contained in:
Corbin Crutchley
2019-06-02 00:02:45 -07:00
parent 2a7fe6c1e7
commit acb4850525
12 changed files with 277 additions and 165 deletions

View File

@@ -1,11 +1,8 @@
const authors = require('./authors');
module.exports = {
siteMetadata: {
title: `Unicorn Utterances`,
description: `Learning programming from magically magestic words`,
siteUrl: `https://unicorn-utterances.com/`,
authors
siteUrl: `https://unicorn-utterances.com/`
},
plugins: [
{
@@ -83,5 +80,6 @@ module.exports = {
],
mapping: {
"MarkdownRemark.frontmatter.author": `AuthorYaml`,
"AuthorYaml.pronouns": `PronounsYaml`
},
}