mirror of
https://github.com/sergeyyarkov/devthread.ru.git
synced 2026-10-11 02:09:04 +03:00
91 lines
2.2 KiB
JavaScript
91 lines
2.2 KiB
JavaScript
/**
|
||
* Configure your Gatsby site with this file.
|
||
*
|
||
* See: https://www.gatsbyjs.org/docs/gatsby-config/
|
||
*/
|
||
|
||
module.exports = {
|
||
siteMetadata: {
|
||
title: 'devthread.ru',
|
||
titleTemplate: '%s · статьи и руководства по веб-разработке',
|
||
description: 'сборник статей и руководств по тематике веб-разработки и IT для того чтобы помочь вам',
|
||
url: 'https://devthread.ru',
|
||
email: 'support@devthread.ru',
|
||
menuLinks: [
|
||
{
|
||
name: 'Статьи',
|
||
link: '/articles'
|
||
},
|
||
{
|
||
name: 'О сайте',
|
||
link: '/about'
|
||
},
|
||
{
|
||
name: 'Контакты',
|
||
link: '/contacts'
|
||
},
|
||
{
|
||
name: 'Ресурсы',
|
||
link: '/books'
|
||
}
|
||
]
|
||
},
|
||
plugins: [
|
||
{
|
||
resolve: `gatsby-transformer-remark`,
|
||
options: {
|
||
plugins: [
|
||
{
|
||
resolve: `gatsby-remark-prismjs`,
|
||
options: {
|
||
classPrefix: "language-",
|
||
inlineCodeMarker: null,
|
||
aliases: {},
|
||
showLineNumbers: false,
|
||
noInlineHighlight: false,
|
||
languageExtensions: [
|
||
{
|
||
language: "superscript",
|
||
extend: "javascript",
|
||
definition: {
|
||
superscript_types: /(SuperType)/,
|
||
},
|
||
insertBefore: {
|
||
function: {
|
||
superscript_keywords: /(superif|superelse)/,
|
||
},
|
||
},
|
||
},
|
||
],
|
||
prompt: {
|
||
user: "root",
|
||
host: "localhost",
|
||
global: false,
|
||
},
|
||
escapeEntities: {},
|
||
},
|
||
},
|
||
],
|
||
},
|
||
},
|
||
{
|
||
resolve: 'gatsby-plugin-react-svg',
|
||
options: {
|
||
rule: {
|
||
include: /images/
|
||
}
|
||
}
|
||
},
|
||
{
|
||
resolve: 'gatsby-source-filesystem',
|
||
options: {
|
||
name: 'content',
|
||
path: `${__dirname}/content`
|
||
}
|
||
},
|
||
'gatsby-plugin-netlify-cms',
|
||
'gatsby-plugin-react-helmet',
|
||
'gatsby-plugin-sass'
|
||
],
|
||
}
|