Fix lint errors

This commit is contained in:
alxshelepenok 2019-11-07 13:37:20 +03:00
parent e0d8ce8877
commit f9df4b4ccc

View File

@ -59,7 +59,8 @@ module.exports = {
`,
feeds: [{
serialize: ({ query: { site, allMarkdownRemark } }) => (
allMarkdownRemark.edges.map((edge) => Object.assign({}, edge.node.frontmatter, {
allMarkdownRemark.edges.map((edge) => ({
...edge.node.frontmatter,
description: edge.node.frontmatter.description,
date: edge.node.frontmatter.date,
url: site.siteMetadata.site_url + edge.node.fields.slug,