Skip to content

Commit

Permalink
Fixed broken view transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Ross committed Nov 22, 2023
1 parent 2194de5 commit d9dd008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import partytown from "@astrojs/partytown";
// https://astro.build/config
export default defineConfig({
site: 'https://harry.is-a.dev',
prefetch: true,
integrations: [
mdx(),
sitemap(),
Expand Down
4 changes: 1 addition & 3 deletions src/pages/blog/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ const posts = (await getCollection("blog"))
<a href={`/blog/${post.slug}/`}>
<article class="my-8">
<div class="my-4">
<h2 class="text-4xl mb-1 font-bold" transition:name="blog-title">
{post.data.title}
</h2>
<h2 class="text-4xl mb-1 font-bold">{post.data.title}</h2>
<FormattedDate class="italic" date={post.data.date} />
</div>
{post.data.thumbnail && (
Expand Down

0 comments on commit d9dd008

Please sign in to comment.