Compare commits

..

No commits in common. '4eab0f6870ed8ccb6d60dc9184097708642ac9ba' and '1a31d01764bc9fef1730d78a051ab65a42d02efd' have entirely different histories.

@ -5,15 +5,6 @@
```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.3" "custom-vitepress-theme": "^0.0.2"
} }
} }

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.3", "version": "0.0.2",
"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