mirror of
https://github.com/sergeyyarkov/devthread.ru.git
synced 2026-10-11 02:09:04 +03:00
config
This commit is contained in:
parent
fe536efa9a
commit
1da69a2b36
@ -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: {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user