From 1da69a2b368c40b09d00c2b1f1a5ababf2eb6cfd Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Sat, 25 Jul 2020 22:44:52 +0300 Subject: [PATCH] config --- config.js | 2 +- gatsby-config.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index 969dac3..2c2afd9 100644 --- a/config.js +++ b/config.js @@ -29,7 +29,7 @@ module.exports = { email: "support@devthread.ru", telegram: "https://t.me/devthread", twitter: "https://twitter.com/devthread", - yadzen: "https://zen.yandex.ru/", + yadzen: "https://zen.yandex.ru/id/5f1c896990c4997348fb168d", }, options: { articles: { diff --git a/gatsby-config.js b/gatsby-config.js index 5a6b6aa..703f96b 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -105,7 +105,7 @@ module.exports = { return allMarkdownRemark.edges.map(edge => { return Object.assign({}, edge.node.frontmatter, { categories: edge.node.frontmatter.tags, - description: edge.node.excerpt, + description: edge.node.frontmatter.description, date: edge.node.frontmatter.date, url: `${site.siteMetadata.siteUrl}/article/${edge.node.frontmatter.slug}`, guid: `${site.siteMetadata.siteUrl}/article/${edge.node.frontmatter.slug}`, @@ -121,7 +121,6 @@ module.exports = { ) { edges { node { - excerpt html frontmatter { slug