diff --git a/examples/gallery/basic/index.en.md b/examples/gallery/basic/index.en.md index c779938cb0..c847fa588d 100644 --- a/examples/gallery/basic/index.en.md +++ b/examples/gallery/basic/index.en.md @@ -1,6 +1,4 @@ --- -title: Gallery +title: Featured order: 0 -redirect_from: - - /en/examples --- diff --git a/examples/gallery/basic/index.zh.md b/examples/gallery/basic/index.zh.md index 71b6406985..09884f5206 100644 --- a/examples/gallery/basic/index.zh.md +++ b/examples/gallery/basic/index.zh.md @@ -1,6 +1,4 @@ --- -title: Gallery +title: 官方精品库 order: 0 -redirect_from: - - /zh/examples --- diff --git a/examples/gallery/index.en.md b/examples/gallery/index.en.md new file mode 100644 index 0000000000..2be38ce94b --- /dev/null +++ b/examples/gallery/index.en.md @@ -0,0 +1,7 @@ +--- +title: Gallery +order: -1 +icon: other +redirect_from: + - /en/examples +--- diff --git a/examples/gallery/index.zh.md b/examples/gallery/index.zh.md new file mode 100644 index 0000000000..7e2cf889df --- /dev/null +++ b/examples/gallery/index.zh.md @@ -0,0 +1,7 @@ +--- +title: 所有图表 +order: -1 +icon: other +redirect_from: + - /zh/examples +--- diff --git a/gatsby-config.js b/gatsby-config.js index 4ff2fb5995..f0b0cae925 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -33,10 +33,8 @@ module.exports = { title: { zh: '图表演示', en: 'Examples' - }, - redirect: 'gallery/basic' + } } - // target: '_blank', ], docs: [ { @@ -141,8 +139,8 @@ module.exports = { slug: 'gallery', icon: 'gallery', title: { - zh: 'Gallery', - en: 'Gallery' + zh: '官方精品库', + en: 'Featured' } }, {