This commit is contained in:
Sergey Yarkov 2020-07-25 22:44:52 +03:00
parent fe536efa9a
commit 1da69a2b36
2 changed files with 2 additions and 3 deletions

View File

@ -29,7 +29,7 @@ module.exports = {
email: "support@devthread.ru", email: "support@devthread.ru",
telegram: "https://t.me/devthread", telegram: "https://t.me/devthread",
twitter: "https://twitter.com/devthread", twitter: "https://twitter.com/devthread",
yadzen: "https://zen.yandex.ru/", yadzen: "https://zen.yandex.ru/id/5f1c896990c4997348fb168d",
}, },
options: { options: {
articles: { articles: {

View File

@ -105,7 +105,7 @@ module.exports = {
return allMarkdownRemark.edges.map(edge => { return allMarkdownRemark.edges.map(edge => {
return Object.assign({}, edge.node.frontmatter, { return Object.assign({}, edge.node.frontmatter, {
categories: edge.node.frontmatter.tags, categories: edge.node.frontmatter.tags,
description: edge.node.excerpt, description: edge.node.frontmatter.description,
date: edge.node.frontmatter.date, date: edge.node.frontmatter.date,
url: `${site.siteMetadata.siteUrl}/article/${edge.node.frontmatter.slug}`, url: `${site.siteMetadata.siteUrl}/article/${edge.node.frontmatter.slug}`,
guid: `${site.siteMetadata.siteUrl}/article/${edge.node.frontmatter.slug}`, guid: `${site.siteMetadata.siteUrl}/article/${edge.node.frontmatter.slug}`,
@ -121,7 +121,6 @@ module.exports = {
) { ) {
edges { edges {
node { node {
excerpt
html html
frontmatter { frontmatter {
slug slug