valaxy-theme-yun 0.14.10 → 0.14.12
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/components/ValaxyMain.vue +6 -4
- package/layouts/home.vue +2 -1
- package/node/config.ts +1 -1
- package/package.json +2 -2
@@ -30,10 +30,12 @@ const aside = computed(() => props.frontmatter.aside !== false)
|
|
30
30
|
|
31
31
|
<div p="x-4 b-8" class="sm:px-6 lg:px-12 xl:px-16" w="full">
|
32
32
|
<slot name="main-content">
|
33
|
-
<
|
34
|
-
<
|
35
|
-
|
36
|
-
|
33
|
+
<Transition appear>
|
34
|
+
<ValaxyMd :frontmatter="frontmatter">
|
35
|
+
<slot name="main-content-md" />
|
36
|
+
<slot />
|
37
|
+
</ValaxyMd>
|
38
|
+
</Transition>
|
37
39
|
</slot>
|
38
40
|
|
39
41
|
<slot name="main-content-after" />
|
package/layouts/home.vue
CHANGED
@@ -8,6 +8,7 @@ const isHome = useLayout('home')
|
|
8
8
|
const themeConfig = useThemeConfig()
|
9
9
|
|
10
10
|
const route = useRoute()
|
11
|
+
const isPage = route.path.startsWith('/page')
|
11
12
|
</script>
|
12
13
|
|
13
14
|
<template>
|
@@ -18,7 +19,7 @@ const route = useRoute()
|
|
18
19
|
</slot>
|
19
20
|
</ValaxySidebar>
|
20
21
|
|
21
|
-
<template v-if="!
|
22
|
+
<template v-if="!isPage">
|
22
23
|
<YunBanner v-if="themeConfig.banner.enable" />
|
23
24
|
<YunSay v-if="themeConfig.say.enable" w="full" />
|
24
25
|
</template>
|
package/node/config.ts
CHANGED
@@ -19,7 +19,7 @@ export const defaultThemeConfig: ThemeConfig = {
|
|
19
19
|
bg_image: {
|
20
20
|
enable: true,
|
21
21
|
url: 'https://cdn.yunyoujun.cn/img/bg/stars-timing-0-blur-30px.jpg',
|
22
|
-
dark: 'https://cdn.yunyoujun.cn/img/bg/
|
22
|
+
// dark: 'https://cdn.yunyoujun.cn/img/bg/dark-stars-timing-0-blur-30px.png',
|
23
23
|
},
|
24
24
|
|
25
25
|
say: {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-yun",
|
3
|
-
"version": "0.14.
|
3
|
+
"version": "0.14.12",
|
4
4
|
"author": {
|
5
5
|
"email": "me@yunyoujun.cn",
|
6
6
|
"name": "YunYouJun",
|
@@ -22,6 +22,6 @@
|
|
22
22
|
"valaxy-addon-waline": "0.1.0"
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
|
-
"valaxy": "0.14.
|
25
|
+
"valaxy": "0.14.12"
|
26
26
|
}
|
27
27
|
}
|