From e0ef407aeac7a60cd2b8d679f4d23ef9e3cfc021 Mon Sep 17 00:00:00 2001 From: meteorlxy Date: Sun, 22 Sep 2019 02:47:02 +0800 Subject: [PATCH] fix($theme-default): regression of custom container default title (#1875) --- packages/@vuepress/theme-default/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/@vuepress/theme-default/index.js b/packages/@vuepress/theme-default/index.js index 01de7b1257..40222750ca 100644 --- a/packages/@vuepress/theme-default/index.js +++ b/packages/@vuepress/theme-default/index.js @@ -24,18 +24,21 @@ module.exports = (options, ctx) => ({ ['container', { type: 'tip', defaultTitle: { + '/': 'TIP', '/zh/': '提示' } }], ['container', { type: 'warning', defaultTitle: { + '/': 'WARNING', '/zh/': '注意' } }], ['container', { type: 'danger', defaultTitle: { + '/': 'WARNING', '/zh/': '警告' } }]