From ccee6e58c24c2512020dcc2cd15eeddb987ef4e3 Mon Sep 17 00:00:00 2001 From: IwanIDev Date: Fri, 27 Mar 2026 15:43:45 +0000 Subject: refactor: Moved openring into blog pages rather than homepage That was where I initially meant for it to go, I'm not really sure why I put it on the home page instead. --- src/pages/index.astro | 1 - src/pages/posts/[...slug].astro | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index af26414..5a3c639 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,7 +9,6 @@ import HomePageHeader from "@/components/HomePageHeader.astro"
-
diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro index b68f153..b8e75a2 100644 --- a/src/pages/posts/[...slug].astro +++ b/src/pages/posts/[...slug].astro @@ -3,6 +3,7 @@ import { getCollection, type CollectionEntry } from "astro:content"; import Layout from "@/layouts/main.astro"; import { buttonVariants } from "@/components/ui/button"; import PostHeader from "@/components/PostHeader.astro"; +import OpenRing from "@/components/OpenRing.astro"; export async function getStaticPaths() { const posts = await getCollection("blog"); @@ -21,7 +22,7 @@ const { post } = Astro.props as Props; const { Content } = await post.render(); --- - +
Back to posts +
-- cgit