quotes

My favourite quotes. (gatsbyjs)
git clone http://git.hanabi.in/repos/quotes.git
Log | Files | Refs | README | LICENSE

commit 6aa9d957758800021cab578049e247dc16447dbc
parent 9bfc1ba670a5a46ca5b0edd31dc733d4b093250a
Author: Agastya Chandrakant <me@hanabi.in>
Date:   Wed, 11 Mar 2020 12:07:58 +0530

support attr and misattr

Diffstat:
Mgatsby-node.js | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gatsby-node.js b/gatsby-node.js @@ -74,7 +74,9 @@ const createAuthorPages = function(createPage, posts) { path: `/authors/${author}`, component: singleAuthorTemplate, context: { + attributed, author, + misattributed, posts, }, }); @@ -97,7 +99,9 @@ exports.createPages = function({ graphql, actions }) { edges { node { frontmatter { + attributed author + misattributed path tags title @@ -117,8 +121,6 @@ exports.createPages = function({ graphql, actions }) { component: blogPostTemplate, context: { pathSlug: node.frontmatter.path, - next: index == posts.length - 1 ? null : posts[index + 1].node, - prev: index == 0 ? null : posts[index - 1].node, }, }); resolve();