From 45ceeda7123d5230cf5e8e3327cd4142cb53e191 Mon Sep 17 00:00:00 2001 From: meteorlxy Date: Sat, 21 Sep 2019 13:59:58 +0800 Subject: [PATCH] fix($theme-default): regression of custom container default title --- 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/': '警告' } }]