diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 350a44d..3d7cbdf 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -9,8 +9,8 @@ import baiduCode from './config/baiduCode' // 百度统计hm码 import htmlModules from './config/htmlModules' // 自定义插入的html块 export default defineConfig4CustomTheme({ - // theme: 'vdoing', // 使用npm主题包 - theme: resolve(__dirname, '../../vdoing'), // 使用本地主题包 + theme: 'vdoing', // 使用npm主题包 + // theme: resolve(__dirname, '../../vdoing'), // 使用本地主题包 locales: { '/': { @@ -196,21 +196,12 @@ export default defineConfig4CustomTheme({ 'Evan Xu | MIT License', // 博客版权信息,支持a标签或换行标签
}, - // 扩展自动生成frontmatter。 (不会覆盖已有的数据,仅在相应属性不存在时才会自动添加) + // 扩展自动生成frontmatter。(当md文件的frontmatter不存在相应的字段时将自动添加。不会覆盖已有的数据。) extendFrontmatter: { - test1: false, - test2: 1, - test3: '字符串', - test4: [ - 1, 2, 3 - ], - test5: { - prop: 'abc', - prop2: [{ - child: true, - }] - }, - test6: 1.9 + author: { + name: 'xugaoyi', + link: 'https://github.com/xugaoyi' + } }, // 自定义hmtl(广告)模块 diff --git a/docs/00.目录页/01.前端.md b/docs/00.目录页/01.前端.md index 9412ddc..0a8a49b 100644 --- a/docs/00.目录页/01.前端.md +++ b/docs/00.目录页/01.前端.md @@ -12,5 +12,8 @@ sidebar: false article: false comment: false editLink: false +author: + name: xugaoyi + link: https://github.com/xugaoyi --- diff --git a/docs/00.目录页/02.页面.md b/docs/00.目录页/02.页面.md index ee2c4b9..7b12fa8 100644 --- a/docs/00.目录页/02.页面.md +++ b/docs/00.目录页/02.页面.md @@ -1,7 +1,7 @@ --- -pageComponent: +pageComponent: name: Catalogue - data: + data: key: 02.页面 imgUrl: /img/ui.png description: html(5)/css(3),前端页面相关技术 @@ -12,4 +12,7 @@ sidebar: false article: false comment: false editLink: false +author: + name: xugaoyi + link: https://github.com/xugaoyi --- diff --git a/docs/00.目录页/03.技术.md b/docs/00.目录页/03.技术.md index 6d022ae..a417500 100644 --- a/docs/00.目录页/03.技术.md +++ b/docs/00.目录页/03.技术.md @@ -12,4 +12,7 @@ sidebar: false article: false comment: false editLink: false +author: + name: xugaoyi + link: https://github.com/xugaoyi --- diff --git a/docs/00.目录页/04.更多.md b/docs/00.目录页/04.更多.md index bd7e08b..aedd92b 100644 --- a/docs/00.目录页/04.更多.md +++ b/docs/00.目录页/04.更多.md @@ -12,4 +12,7 @@ sidebar: false article: false comment: false editLink: false +author: + name: xugaoyi + link: https://github.com/xugaoyi --- diff --git a/docs/01.前端/25.JavaScript文章/1110.三级目录/00.四级文件.md b/docs/01.前端/25.JavaScript文章/1110.三级目录/00.四级文件.md index ead42b6..870f94d 100644 --- a/docs/01.前端/25.JavaScript文章/1110.三级目录/00.四级文件.md +++ b/docs/01.前端/25.JavaScript文章/1110.三级目录/00.四级文件.md @@ -2,12 +2,15 @@ title: 四级文件(测试) date: 2020-12-11 11:15:53 permalink: /pages/8481d1/ -categories: +categories: - 前端 - JavaScript文章 - 三级目录 -tags: - - +tags: + - null +author: + name: xugaoyi + link: https://github.com/xugaoyi --- ## 测试文件 diff --git a/docs/01.前端/40.学习笔记/05.《JavaScript高级程序设计》笔记.md b/docs/01.前端/40.学习笔记/05.《JavaScript高级程序设计》笔记.md index b3e6af6..d655dd2 100644 --- a/docs/01.前端/40.学习笔记/05.《JavaScript高级程序设计》笔记.md +++ b/docs/01.前端/40.学习笔记/05.《JavaScript高级程序设计》笔记.md @@ -7,6 +7,9 @@ categories: tags: - 笔记 - 红宝书 +author: + name: xugaoyi + link: https://github.com/xugaoyi --- # 《JavaScript高级程序设计》笔记 diff --git a/docs/01.前端/40.学习笔记/35.TypeScript笔记.md b/docs/01.前端/40.学习笔记/35.TypeScript笔记.md index 07e868f..0e2060c 100644 --- a/docs/01.前端/40.学习笔记/35.TypeScript笔记.md +++ b/docs/01.前端/40.学习笔记/35.TypeScript笔记.md @@ -2,11 +2,14 @@ title: TypeScript笔记 date: 2020-10-08 13:02:48 permalink: /pages/51afd6/ -categories: +categories: - 前端 - 学习笔记 -tags: +tags: - TypeScript +author: + name: xugaoyi + link: https://github.com/xugaoyi --- # TypeScript 学习笔记 diff --git a/docs/01.前端/40.学习笔记/50.JS设计模式总结笔记.md b/docs/01.前端/40.学习笔记/50.JS设计模式总结笔记.md index d8d36de..4328ae4 100644 --- a/docs/01.前端/40.学习笔记/50.JS设计模式总结笔记.md +++ b/docs/01.前端/40.学习笔记/50.JS设计模式总结笔记.md @@ -2,11 +2,14 @@ title: JS设计模式总结笔记 date: 2021-02-27 20:01:18 permalink: /pages/4643cd/ -categories: +categories: - 前端 - 学习笔记 -tags: +tags: - 设计模式 +author: + name: xugaoyi + link: https://github.com/xugaoyi --- # JS设计模式总结笔记 diff --git a/docs/02.页面/20.CSS/00.CSS教程和技巧收藏.md b/docs/02.页面/20.CSS/00.CSS教程和技巧收藏.md index e009b5a..0bda9db 100644 --- a/docs/02.页面/20.CSS/00.CSS教程和技巧收藏.md +++ b/docs/02.页面/20.CSS/00.CSS教程和技巧收藏.md @@ -2,11 +2,14 @@ title: CSS教程和技巧收藏 date: 2020-08-11 17:13:52 permalink: /pages/c8f128/ -categories: +categories: - 页面 - CSS -tags: - - +tags: + - null +author: + name: xugaoyi + link: https://github.com/xugaoyi --- ## Flex 布局教程:语法篇 diff --git a/docs/04.更多/10.实用技巧/01.2分钟规则.md b/docs/04.更多/10.实用技巧/01.2分钟规则.md index 6283180..b290e28 100644 --- a/docs/04.更多/10.实用技巧/01.2分钟规则.md +++ b/docs/04.更多/10.实用技巧/01.2分钟规则.md @@ -2,12 +2,15 @@ title: 2分钟规则 date: 2020-11-09 11:05:29 permalink: /pages/baaa02/ -categories: +categories: - 更多 - 实用技巧 -tags: +tags: - 实用技巧 - 文摘 +author: + name: xugaoyi + link: https://github.com/xugaoyi --- 每当你发现很难开始执行某项任务时,可以试试将其缩减成2分钟的版本。 diff --git a/docs/04.更多/10.实用技巧/10.一行代码“黑”掉任意网站.md b/docs/04.更多/10.实用技巧/10.一行代码“黑”掉任意网站.md index baefe45..acc5bc5 100644 --- a/docs/04.更多/10.实用技巧/10.一行代码“黑”掉任意网站.md +++ b/docs/04.更多/10.实用技巧/10.一行代码“黑”掉任意网站.md @@ -4,13 +4,16 @@ date: 2021-11-25 14:33:51 permalink: /pages/dcebaf/ titleTag: 原创 sticky: 1 -categories: +categories: - 更多 - 实用技巧 -tags: +tags: - JavaScript - css - 实用技巧 +author: + name: xugaoyi + link: https://github.com/xugaoyi --- # 一行代码“黑”掉任意网站 diff --git a/docs/04.更多/99.友情链接.md b/docs/04.更多/99.友情链接.md index 8759325..a4c874a 100644 --- a/docs/04.更多/99.友情链接.md +++ b/docs/04.更多/99.友情链接.md @@ -4,6 +4,9 @@ date: 2019-12-25 14:27:01 permalink: /friends article: false sidebar: false +author: + name: xugaoyi + link: https://github.com/xugaoyi ---