From 042caa13f8cc07302c187c3517e339c887393f2f Mon Sep 17 00:00:00 2001 From: alxshelepenok Date: Sun, 11 Nov 2018 19:43:29 +0300 Subject: [PATCH] Fix feed query --- gatsby-config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index b0cce10..0495c06 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -58,7 +58,7 @@ module.exports = { allMarkdownRemark( limit: 1000, sort: { order: DESC, fields: [frontmatter___date] }, - filter: { frontmatter: { layout: { eq: "post" }, draft: { ne: true } } } + filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } } ) { edges { node { @@ -69,7 +69,7 @@ module.exports = { frontmatter { title date - layout + template draft description }