fix(www-website): fix link to community, fix CMS previews (#3189)

This commit is contained in:
Erez Rokah
2020-02-04 09:16:48 +02:00
committed by GitHub
parent 4f5544287f
commit 68dd3c1de7
10 changed files with 375 additions and 369 deletions

View File

@ -39,6 +39,18 @@ module.exports = {
},
},
plugins: [
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'NetlifyCMS',
short_name: 'NetlifyCMS',
start_url: '/',
background_color: '#ffffff',
theme_color: '#ffffff',
display: 'standalone',
icon: 'static/img/favicon/icon-512x512.png',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
@ -59,6 +71,13 @@ module.exports = {
// prettier-ignore
plugins: [
'gatsby-remark-autolink-headers',
{
resolve: "gatsby-remark-external-links",
options: {
target: "_blank",
rel: "noopener noreferrer"
}
},
{
resolve: 'gatsby-remark-prismjs',
options: {
@ -79,17 +98,5 @@ module.exports = {
modulePath: `${__dirname}/src/cms/cms.js`,
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'NetlifyCMS',
short_name: 'NetlifyCMS',
start_url: '/',
background_color: '#ffffff',
theme_color: '#ffffff',
display: 'standalone',
icon: 'static/img/favicon/icon-512x512.png',
},
},
],
};