Skip to content

Commit 46a0a45

Browse files
authored
Merge branch 'master' into button-scroll
2 parents 72e4f73 + a80c345 commit 46a0a45

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

gatsby-config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ module.exports = {
143143
output: "/rss.xml",
144144
title: "Layer5 Technical Posts",
145145
// REQUIRED: We add this lightweight query to satisfy the plugin validator.
146-
// The 'allMdx' data from the global query above is merged into this,
146+
// The 'allMdx' data from the global query above is merged into this,
147147
// so 'serialize' can still access it.
148-
query: "{ site { siteMetadata { title } } }",
148+
query: "{ site { siteMetadata { title } } }",
149149
serialize: ({ query: { site, allMdx } }) => {
150150
return allMdx.nodes
151-
.filter((node) =>
152-
["blog", "resources", "news"].includes(node.fields.collection) &&
151+
.filter((node) =>
152+
["blog", "resources", "news"].includes(node.fields.collection) &&
153153
!["Programs", "Community", "Events", "FAQ"].includes(node.frontmatter.category)
154154
)
155155
.slice(0, 20)
@@ -207,7 +207,7 @@ module.exports = {
207207
return Object.assign({}, node.frontmatter, {
208208
title: node.frontmatter.title,
209209
author: node.frontmatter.author,
210-
description: node.frontmatter.description,
210+
description: node.frontmatter.description,
211211
date: node.frontmatter.date,
212212
url: site.siteMetadata.siteUrl + node.fields.slug,
213213
guid: site.siteMetadata.siteUrl + node.fields.slug,
@@ -252,7 +252,7 @@ module.exports = {
252252
serialize: ({ query: { site, allMdx } }) => {
253253
const targetCategories = ["Meshery", "Announcements", "Events"];
254254
const targetTags = ["Community", "Meshery", "mesheryctl"];
255-
255+
256256
return allMdx.nodes
257257
.filter((node) => {
258258
const inCollection = ["blog", "resources", "news", "events"].includes(node.fields.collection);

0 commit comments

Comments
 (0)