[vuepress] support dark mode, close #463

Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
This commit is contained in:
Kang Huaishuai
2020-09-16 18:05:52 +08:00
parent d071ed7b99
commit 83929dd096
4 changed files with 17 additions and 5 deletions

View File

@@ -1,4 +1,15 @@
module.exports = {
const resolve = require("vuepress-theme-hope/resolve");
module.exports = resolve({
themeConfig: {
blog: false,
comment: {
type: "disable", // 使用 Valine
appId: "...", // your appId
appKey: "...", // your appKey
},
pageInfo: false
},
title: 'Docker 从入门到实践',
base: '/',
head: [['script', {}, `
@@ -401,4 +412,4 @@ module.exports = {
],
},
}
}
});