valaxy-theme-yun 0.11.4 → 0.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,7 +8,7 @@ Theme-Yun<sup><em>(vue)</em></sup>
8
8
 
9
9
  ## Usage
10
10
 
11
- TODO
11
+ See [Docs](./docs/README.md).
12
12
 
13
13
  ### Development
14
14
 
package/docs/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Docs for valaxy-theme-yun
2
+
3
+ [English](./en-US/) | [中文](./zh-CN/)
File without changes
@@ -0,0 +1,40 @@
1
+ # valaxy-theme-yun 文档
2
+
3
+ ## 自定义友情链接
4
+
5
+ 新建 `pages/links/index.md` 文件。
6
+
7
+ 您可以在 `frontmatter` 编写链接信息。
8
+
9
+ - `links`: 友情链接信息(可以是 YAML 数组形式,也可以是一个 JSON 文件链接)
10
+ - `random`: 是否随机展示
11
+
12
+ 譬如:
13
+
14
+ ```md
15
+ ---
16
+ title: 我的小伙伴们
17
+ keywords: 链接
18
+ description: 云游的小伙伴们
19
+ links:
20
+ - url: https://www.yunyoujun.cn
21
+ avatar: https://www.yunyoujun.cn/images/avatar.jpg
22
+ name: 云游君
23
+ blog: 云游君的小站
24
+ desc: 希望能成为一个有趣的人。
25
+ email: me@yunyoujun.cn
26
+ color: "#0078e7"
27
+ - url: https://valaxy.site
28
+ avatar: https://valaxy.site/favicon.svg
29
+ name: Valaxy Org
30
+ blog: Valaxy Site
31
+ desc: 下一代静态博客框架
32
+ email: i@valaxy.site
33
+ color: "#6058d9"
34
+ # 也可以是一个 JSON 链接
35
+ # links: https://friends.yunyoujun.cn/links.json
36
+ random: true
37
+ ---
38
+
39
+ <YunLinks :links="frontmatter.links" :random="frontmatter.random" />
40
+ ```
package/layouts/post.vue CHANGED
@@ -21,7 +21,7 @@ const showSponsor = computed(() => {
21
21
  </template>
22
22
 
23
23
  <template #main-content-after>
24
- <YunSponsor v-if="showSponsor" />
24
+ <YunSponsor v-if="showSponsor" m="t-6" />
25
25
  <ValaxyCopyright v-if="frontmatter.copyright || config.license.enabled" :url="url" m="y-4" />
26
26
  </template>
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valaxy-theme-yun",
3
- "version": "0.11.4",
3
+ "version": "0.11.6",
4
4
  "author": {
5
5
  "email": "me@yunyoujun.cn",
6
6
  "name": "YunYouJun",
@@ -20,10 +20,10 @@
20
20
  "@docsearch/css": "^3.3.0",
21
21
  "@docsearch/js": "^3.3.0",
22
22
  "@iconify-json/ant-design": "^1.1.4",
23
- "@iconify-json/simple-icons": "^1.1.36",
24
- "valaxy-addon-waline": "0.0.4"
23
+ "@iconify-json/simple-icons": "^1.1.37",
24
+ "valaxy-addon-waline": "0.0.6"
25
25
  },
26
26
  "devDependencies": {
27
- "valaxy": "0.11.4"
27
+ "valaxy": "0.11.6"
28
28
  }
29
29
  }