valaxy-theme-yun 0.6.3 → 0.7.0
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.
@@ -44,7 +44,7 @@ const title = usePostTitle(computed(() => props.frontmatter))
|
|
44
44
|
|
45
45
|
<slot name="main-nav-after" />
|
46
46
|
|
47
|
-
<slot v-if="frontmatter.comment !== false" name="comment">
|
47
|
+
<slot v-if="config.comment.enable && frontmatter.comment !== false" name="comment">
|
48
48
|
<YunCard w="full" p="4" class="comment sm:p-6 lg:px-12 xl:px-16" :class="frontmatter.nav === false ? 'mt-4' : 0">
|
49
49
|
<YunWaline v-if="config.comment.waline.enable" />
|
50
50
|
<YunTwikoo v-if="config.comment.twikoo.enable" />
|
package/components/YunCard.vue
CHANGED
@@ -4,7 +4,11 @@ defineProps<{ cover?: string }>()
|
|
4
4
|
|
5
5
|
<template>
|
6
6
|
<div class="yun-card">
|
7
|
-
<img
|
7
|
+
<img
|
8
|
+
v-if="cover"
|
9
|
+
width="640" height="360"
|
10
|
+
class="object-cover select-none" h="64 md:sm" w="full" :src="cover"
|
11
|
+
>
|
8
12
|
|
9
13
|
<div v-if="$slots.header" class="yun-card-header">
|
10
14
|
<header>
|
package/components/YunLinks.vue
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-yun",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.7.0",
|
4
4
|
"author": {
|
5
5
|
"email": "me@yunyoujun.cn",
|
6
6
|
"name": "YunYouJun",
|
@@ -14,11 +14,11 @@
|
|
14
14
|
"main": "dist/index.js",
|
15
15
|
"types": "dist/index.d.ts",
|
16
16
|
"dependencies": {
|
17
|
-
"@iconify-json/ant-design": "^1.1.
|
18
|
-
"@iconify-json/simple-icons": "^1.1.
|
17
|
+
"@iconify-json/ant-design": "^1.1.3",
|
18
|
+
"@iconify-json/simple-icons": "^1.1.18"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
|
-
"valaxy": "0.
|
21
|
+
"valaxy": "0.7.0"
|
22
22
|
},
|
23
23
|
"scripts": {
|
24
24
|
"build": "tsup",
|
package/styles/layout/post.scss
CHANGED