diff --git a/gatsby-config.js b/gatsby-config.js index b1585aa..bd7ab9d 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -46,11 +46,20 @@ module.exports = { { resolve: `gatsby-plugin-manifest`, options: { - name: `npm-site`, + name: `NPM group`, short_name: `npm`, + lang: `ru`, start_url: `/`, display: `minimal-ui`, - icon: `src/images/icon.png`, // This path is relative to the root of the site. + // icon: `src/images/icon.png`, // This path is relative to the root of the site. + localize: [ + { + start_url: `/en/`, + lang: `en`, + name: `NPM group`, + short_name: `npm`, + }, + ], }, }, `gatsby-plugin-netlify-cms`, diff --git a/gatsby-node.js b/gatsby-node.js index be64ebf..4e4e7b6 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -1,6 +1,4 @@ const path = require('path') -const { createFilePath } = require(`gatsby-source-filesystem`) - exports.createPages = async ({ actions, graphql }) => { const {createPage} = actions;