diff --git a/src/pages/blog/[slug].astro b/src/pages/blog/[slug].astro index c431355..da2dd62 100644 --- a/src/pages/blog/[slug].astro +++ b/src/pages/blog/[slug].astro @@ -31,7 +31,7 @@ const permalink = `${Astro?.site?.href}blog/${slug}`;

{publishDate} ~ {readTime}

-

{title}

+

{title}

{tags.map(item => ( {item} @@ -55,7 +55,6 @@ const permalink = `${Astro?.site?.href}blog/${slug}`; margin-bottom: 0.7em; display: flex; justify-content: center; - view-transition-name: blog-title; width: fit-content; margin-inline: auto; } diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 1b2281a..32d38da 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -21,7 +21,7 @@ const allPosts= posts.sort((a, b) => new Date(b.data.publishDate).valueOf() - ne { index !== 0 &&
}

- {post.data.title} + {post.data.title}

{post.data.tags.map(item => ( diff --git a/src/pages/index.astro b/src/pages/index.astro index eccb73c..6f73f7b 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -49,7 +49,7 @@ const latestBlogPost = await getCollection("posts") ) : null }
- {latestBlogPost?.data.title} + {latestBlogPost?.data.title} {latestBlogPost?.data.description}
@@ -178,7 +178,6 @@ const latestBlogPost = await getCollection("posts") .title { font-weight: 600; font-size: 1.1rem; - view-transition-name: blog-title; } .excerpt {