some global changes

This commit is contained in:
Elinorre 2020-02-08 16:50:41 +03:00
parent 6149290e0e
commit 9d53458940
2 changed files with 11 additions and 4 deletions

View File

@ -46,11 +46,20 @@ module.exports = {
{ {
resolve: `gatsby-plugin-manifest`, resolve: `gatsby-plugin-manifest`,
options: { options: {
name: `npm-site`, name: `NPM group`,
short_name: `npm`, short_name: `npm`,
lang: `ru`,
start_url: `/`, start_url: `/`,
display: `minimal-ui`, 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`, `gatsby-plugin-netlify-cms`,

View File

@ -1,6 +1,4 @@
const path = require('path') const path = require('path')
const { createFilePath } = require(`gatsby-source-filesystem`)
exports.createPages = async ({ actions, graphql }) => { exports.createPages = async ({ actions, graphql }) => {
const {createPage} = actions; const {createPage} = actions;