valaxy-theme-yun 1.2.0 → 1.2.1
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { LinkType } from '../types'
|
|
3
|
+
import { withBase } from 'valaxy'
|
|
3
4
|
import { onImgError } from '../utils'
|
|
4
5
|
|
|
5
6
|
const props = defineProps<{
|
|
@@ -36,7 +37,7 @@ function getLinkLabel(link: LinkType) {
|
|
|
36
37
|
alt=""
|
|
37
38
|
decoding="async"
|
|
38
39
|
loading="lazy"
|
|
39
|
-
:src="link.avatar"
|
|
40
|
+
:src="withBase(link.avatar)"
|
|
40
41
|
@error="onError"
|
|
41
42
|
>
|
|
42
43
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { useSiteConfig } from 'valaxy'
|
|
2
|
+
import { useSiteConfig, withBase } from 'valaxy'
|
|
3
3
|
|
|
4
4
|
const siteConfig = useSiteConfig()
|
|
5
5
|
</script>
|
|
@@ -9,7 +9,7 @@ const siteConfig = useSiteConfig()
|
|
|
9
9
|
<div class="absolute size-full avatar-bg bg-image-$yun-home-hero-image-background-image filter-blur-2xl op-30" />
|
|
10
10
|
<img
|
|
11
11
|
class="rounded-full size-full bg-white dark:bg-white/20 p-1 m-0 absolute"
|
|
12
|
-
:src="siteConfig.author.avatar"
|
|
12
|
+
:src="withBase(siteConfig.author.avatar)"
|
|
13
13
|
alt="avatar"
|
|
14
14
|
>
|
|
15
15
|
<span
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valaxy-theme-yun",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.1",
|
|
5
5
|
"description": "Default theme (Yun) for Valaxy — a Vite & Vue powered static blog generator",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "me@yunyoujun.cn",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"valaxy-addon-girls": "0.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"valaxy": "1.2.
|
|
44
|
+
"valaxy": "1.2.1",
|
|
45
45
|
"valaxy-addon-waline": "0.2.1"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|