diff --git a/.vuepress/Layout.vue b/.vuepress/Layout.vue
deleted file mode 100644
index d29e669..0000000
--- a/.vuepress/Layout.vue
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.vuepress/config.js b/.vuepress/config.js
index 394fa32..aa1a6a8 100644
--- a/.vuepress/config.js
+++ b/.vuepress/config.js
@@ -1,3 +1,5 @@
+let dateFns = require('date-fns')
+
module.exports = {
title: 'Kuboard',
description: 'A cool Kubernetes Dashboard',
@@ -5,16 +7,18 @@ module.exports = {
toc: { includeLevel: [2, 3] }
},
dest: 'docs',
- serviceWorker: true,
plugins: {
'@vuepress/google-analytics':
{
ga: 'UA-144196556-1',
},
'@vuepress/back-to-top': {},
- '@vuepress/last-updated': {}
+ '@vuepress/last-updated': {
+ transformer: (timestamp, lang) => {
+ return dateFns.format(timestamp, 'YYYY-MM-DD HH:mm:ss')
+ }
+ }
},
- extend: '@vuepress/theme-default',
themeConfig: {
nav: [
{ text: '简介', link: '/overview/' },
diff --git a/.vuepress/styles/palette.styl b/.vuepress/styles/palette.styl
index d0a02de..9f81ecd 100644
--- a/.vuepress/styles/palette.styl
+++ b/.vuepress/styles/palette.styl
@@ -1,4 +1,4 @@
-$accentColor = #3eaf7c
+$accentColor = #007af5
$textColor = #2c3e50
$borderColor = #eaecef
$codeBgColor = #282c34
\ No newline at end of file
diff --git a/.vuepress/theme/index.js b/.vuepress/theme/index.js
new file mode 100644
index 0000000..06bbbb0
--- /dev/null
+++ b/.vuepress/theme/index.js
@@ -0,0 +1,3 @@
+module.exports = {
+ extend: '@vuepress/theme-default'
+}
\ No newline at end of file
diff --git a/.vuepress/theme/layouts/Layout.vue b/.vuepress/theme/layouts/Layout.vue
new file mode 100644
index 0000000..dac074e
--- /dev/null
+++ b/.vuepress/theme/layouts/Layout.vue
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/404.html b/docs/404.html
index 4d25672..1e30bc6 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -7,11 +7,11 @@
-
-
+
+
-
-
+
+