valaxy-theme-yun 0.19.1 → 0.19.3
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,7 +1,6 @@
|
|
1
1
|
<script lang="ts" setup>
|
2
2
|
import type { Post } from 'valaxy'
|
3
|
-
import {
|
4
|
-
import { formatDate, useSiteConfig } from 'valaxy'
|
3
|
+
import { formatDate, formatTimestamp, useSiteConfig } from 'valaxy'
|
5
4
|
import { useI18n } from 'vue-i18n'
|
6
5
|
|
7
6
|
defineProps<{
|
@@ -31,14 +30,14 @@ const siteConfig = useSiteConfig()
|
|
31
30
|
flex="~ col" justify="center" items="center" text="sm" py="1"
|
32
31
|
>
|
33
32
|
<div v-if="frontmatter.date" class="post-time flex items-center">
|
34
|
-
<span class="posted-time inline-flex-center" :title="t('post.posted') +
|
33
|
+
<span class="posted-time inline-flex-center" :title="t('post.posted') + formatTimestamp(frontmatter.date)">
|
35
34
|
<div class="inline-block" i-ri-calendar-line />
|
36
35
|
<time m="l-1">{{ formatDate(frontmatter.date) }}</time>
|
37
36
|
</span>
|
38
37
|
|
39
38
|
<span
|
40
39
|
v-if="frontmatter.updated && frontmatter.updated !== frontmatter.date"
|
41
|
-
class="edited-time inline-flex-center" :title="t('post.edited') +
|
40
|
+
class="edited-time inline-flex-center" :title="t('post.edited') + formatTimestamp(frontmatter.updated)"
|
42
41
|
>
|
43
42
|
<span m="x-2">-</span>
|
44
43
|
<div i-ri-calendar-2-line />
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-yun",
|
3
|
-
"version": "0.19.
|
3
|
+
"version": "0.19.3",
|
4
4
|
"author": {
|
5
5
|
"email": "me@yunyoujun.cn",
|
6
6
|
"name": "YunYouJun",
|
@@ -20,12 +20,12 @@
|
|
20
20
|
"dependencies": {
|
21
21
|
"@explosions/fireworks": "^0.0.2",
|
22
22
|
"@iconify-json/ant-design": "^1.1.16",
|
23
|
-
"@iconify-json/simple-icons": "^1.1.
|
23
|
+
"@iconify-json/simple-icons": "^1.1.109",
|
24
24
|
"animejs": "^3.2.2"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
27
|
"@types/animejs": "^3.1.12",
|
28
|
-
"valaxy": "0.19.
|
29
|
-
"valaxy-addon-waline": "0.
|
28
|
+
"valaxy": "0.19.3",
|
29
|
+
"valaxy-addon-waline": "0.2.0"
|
30
30
|
}
|
31
31
|
}
|