From d45dfd667b9eb11be22652be910d2daf3fdb605b Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sun, 16 Jun 2024 16:52:11 +0800 Subject: [PATCH] chore: tweak --- theme/src/client/components/Blog/VPBlog.vue | 66 +++++++++++++------ .../client/components/Blog/VPBlogArchives.vue | 4 ++ .../client/components/Blog/VPBlogAside.vue | 2 + .../client/components/Blog/VPBlogExtract.vue | 4 ++ .../src/client/components/Blog/VPBlogTags.vue | 4 ++ .../src/client/components/Blog/VPPostList.vue | 3 + theme/src/client/components/VPContent.vue | 51 +++++++++++--- theme/src/client/layouts/Layout.vue | 57 +++++++++++++--- theme/src/client/layouts/NotFound.vue | 6 +- 9 files changed, 158 insertions(+), 39 deletions(-) diff --git a/theme/src/client/components/Blog/VPBlog.vue b/theme/src/client/components/Blog/VPBlog.vue index 922adf6b..58cbe7b6 100644 --- a/theme/src/client/components/Blog/VPBlog.vue +++ b/theme/src/client/components/Blog/VPBlog.vue @@ -1,5 +1,4 @@ diff --git a/theme/src/client/components/Blog/VPBlogArchives.vue b/theme/src/client/components/Blog/VPBlogArchives.vue index 567daab6..42890e6c 100644 --- a/theme/src/client/components/Blog/VPBlogArchives.vue +++ b/theme/src/client/components/Blog/VPBlogArchives.vue @@ -8,6 +8,8 @@ const { archives } = useArchives() + + diff --git a/theme/src/client/components/Blog/VPBlogAside.vue b/theme/src/client/components/Blog/VPBlogAside.vue index 04cd4129..322136ae 100644 --- a/theme/src/client/components/Blog/VPBlogAside.vue +++ b/theme/src/client/components/Blog/VPBlogAside.vue @@ -8,8 +8,10 @@ const { theme } = useData() diff --git a/theme/src/client/components/Blog/VPBlogExtract.vue b/theme/src/client/components/Blog/VPBlogExtract.vue index b0f96b6f..76442236 100644 --- a/theme/src/client/components/Blog/VPBlogExtract.vue +++ b/theme/src/client/components/Blog/VPBlogExtract.vue @@ -64,6 +64,8 @@ const showBlogExtract = computed(() => {
+ +

@@ -95,6 +97,8 @@ const showBlogExtract = computed(() => { {{ archives.text }}

+ +
diff --git a/theme/src/client/components/Blog/VPBlogTags.vue b/theme/src/client/components/Blog/VPBlogTags.vue index d4e78067..ebf0266d 100644 --- a/theme/src/client/components/Blog/VPBlogTags.vue +++ b/theme/src/client/components/Blog/VPBlogTags.vue @@ -8,6 +8,8 @@ const { tags: tagsLink } = useBlogExtract() diff --git a/theme/src/client/components/Blog/VPPostList.vue b/theme/src/client/components/Blog/VPPostList.vue index f52adc11..ffa0f805 100644 --- a/theme/src/client/components/Blog/VPPostList.vue +++ b/theme/src/client/components/Blog/VPPostList.vue @@ -18,6 +18,7 @@ const { diff --git a/theme/src/client/components/VPContent.vue b/theme/src/client/components/VPContent.vue index 5cf17e00..79f64314 100644 --- a/theme/src/client/components/VPContent.vue +++ b/theme/src/client/components/VPContent.vue @@ -22,14 +22,52 @@ const isBlogLayout = computed(() => {