site/gatsby-config.js

64 lines
1.5 KiB
JavaScript
Raw Normal View History

2020-01-15 17:45:50 +03:00
module.exports = {
siteMetadata: {
title: `MIPT-NPM group`,
description: `Nuclear Physics Methods Laboratory`,
},
plugins: [
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
'gatsby-remark-katex',
'gatsby-remark-relative-images',
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 100
}
},
],
},
},
`gatsby-plugin-react-helmet`,
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/images`,
name: 'images',
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `content`,
path: `${__dirname}/src/pages/content`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
2020-02-08 16:50:41 +03:00
name: `NPM group`,
2020-01-15 17:45:50 +03:00
short_name: `npm`,
2020-02-08 16:50:41 +03:00
lang: `ru`,
2020-01-15 17:45:50 +03:00
start_url: `/`,
2020-03-21 22:53:30 +03:00
// start_url: `/new`,
2020-01-15 17:45:50 +03:00
display: `minimal-ui`,
2020-02-18 23:26:17 +03:00
icon: `src/images/icon.png`, // This path is relative to the root of the site.
2020-01-15 17:45:50 +03:00
},
},
`gatsby-plugin-netlify-cms`,
2020-02-18 23:26:17 +03:00
{
resolve: `gatsby-plugin-intl`,
options: {
path: `${__dirname}/src/intl`,
languages: [`ru`, `en`],
defaultLanguage: `ru`,
redirect: true,
redirectComponent: require.resolve(`./src/components/redirect.js`),
},
},
2020-01-15 17:45:50 +03:00
],
}