-
diff --git a/theme/src/client/components/VFooter.vue b/theme/src/client/components/VFooter.vue
index 44a5ce31..4c6009ff 100644
--- a/theme/src/client/components/VFooter.vue
+++ b/theme/src/client/components/VFooter.vue
@@ -44,11 +44,12 @@ const { hasSidebar } = useSidebar()
.plume-footer :deep(a) {
text-decoration-line: underline;
text-underline-offset: 2px;
- transition: color 0.25s;
+ transition: color, text-underline-offset 0.25s;
}
.plume-footer :deep(a:hover) {
color: var(--vp-c-text-1);
+ text-underline-offset: 4px;
}
@media (min-width: 768px) {
diff --git a/theme/src/client/composables/blog.ts b/theme/src/client/composables/blog.ts
index ae0e1309..1d6789a6 100644
--- a/theme/src/client/composables/blog.ts
+++ b/theme/src/client/composables/blog.ts
@@ -146,7 +146,7 @@ export function useTags() {
}).map(item => ({
title: item.title,
path: item.path,
- createTime: item.createTime.split(' ')[0],
+ createTime: item.createTime.split(' ')[0].replace(/\//g, '-'),
}))
}
@@ -178,7 +178,7 @@ export function useArchives() {
current.list.push({
title: item.title,
path: item.path,
- createTime: createTime.slice(year.length + 1),
+ createTime: createTime.slice(year.length + 1).replace(/\//g, '-'),
})
})