Compare commits

..

3 Commits

Author SHA1 Message Date
ppst 4eab0f6870 feat: 发布版本0.03 1 year ago
ppst 7410695051 fix: 添加案例 1 year ago
ppst 3f96722a53 fix: tag标签重复 1 year ago

@ -5,6 +5,15 @@
```shell ```shell
http://git.ppst.top/pp/custom-vitepress-theme-demo http://git.ppst.top/pp/custom-vitepress-theme-demo
``` ```
## 案例
[技术随笔](https://blog.web.ppst.top/)
[css手册](https://css.web.ppst.top/)
[js手册](https://js.web.ppst.top/)
## 展示 ## 展示
![首页](http://img.ppst.top/custom-vitepress-theme/custom-vitepress-theme/1.png) ![首页](http://img.ppst.top/custom-vitepress-theme/custom-vitepress-theme/1.png)
![归档](http://img.ppst.top/custom-vitepress-theme/custom-vitepress-theme/2.png) ![归档](http://img.ppst.top/custom-vitepress-theme/custom-vitepress-theme/2.png)

@ -14,6 +14,6 @@
"@types/node": "^18.15.11", "@types/node": "^18.15.11",
"markdown-from-posts": "^1.0.5", "markdown-from-posts": "^1.0.5",
"vitepress": "1.0.0-alpha.64", "vitepress": "1.0.0-alpha.64",
"custom-vitepress-theme": "^0.0.2" "custom-vitepress-theme": "^0.0.3"
} }
} }

File diff suppressed because it is too large Load Diff

@ -1,6 +1,6 @@
{ {
"name": "custom-vitepress-theme", "name": "custom-vitepress-theme",
"version": "0.0.2", "version": "0.0.3",
"description": "自定义vitepress主题", "description": "自定义vitepress主题",
"main": "src/index.ts", "main": "src/index.ts",
"exports": { "exports": {

@ -11,7 +11,7 @@ export function getTags(post: Post[]) {
}) })
} }
} }
// data = [...new Set(data)]; data = [...new Set(data)];
return data.sort() return data.sort()
} }
export function initTags(post: Post[]) { export function initTags(post: Post[]) {

Loading…
Cancel
Save