chore: 增加所有图表功能

This commit is contained in:
thinkinggis 2019-12-27 15:33:00 +08:00
parent ad7107370c
commit cfa7be0dd1
5 changed files with 19 additions and 11 deletions

View File

@ -1,6 +1,4 @@
--- ---
title: Gallery title: Featured
order: 0 order: 0
redirect_from:
- /en/examples
--- ---

View File

@ -1,6 +1,4 @@
--- ---
title: Gallery title: 官方精品库
order: 0 order: 0
redirect_from:
- /zh/examples
--- ---

View File

@ -0,0 +1,7 @@
---
title: Gallery
order: -1
icon: other
redirect_from:
- /en/examples
---

View File

@ -0,0 +1,7 @@
---
title: 所有图表
order: -1
icon: other
redirect_from:
- /zh/examples
---

View File

@ -33,10 +33,8 @@ module.exports = {
title: { title: {
zh: '图表演示', zh: '图表演示',
en: 'Examples' en: 'Examples'
}, }
redirect: 'gallery/basic'
} }
// target: '_blank',
], ],
docs: [ docs: [
{ {
@ -141,8 +139,8 @@ module.exports = {
slug: 'gallery', slug: 'gallery',
icon: 'gallery', icon: 'gallery',
title: { title: {
zh: 'Gallery', zh: '官方精品库',
en: 'Gallery' en: 'Featured'
} }
}, },
{ {