From 5038822e0867d8764c6437f2e84bf829580a3772 Mon Sep 17 00:00:00 2001 From: Graham Hall Date: Thu, 13 Feb 2025 09:53:27 -0500 Subject: [PATCH] minor tweaks --- src/layouts/Layout.astro | 2 +- src/pages/blog/index.astro | 2 +- src/pages/index.astro | 15 ++++++++++----- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 528a8e9..2fbb7e4 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -32,7 +32,7 @@ const title = Astro.props.title || Astro.props.frontmatter?.title || 'Unknown'; />{`ghall.blog - ${title}`} - +
diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 75c6681..cca11f3 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -7,7 +7,7 @@ import PostPreview from '@components/PostPreview.astro'; const posts = await getCollection('blog'); --- - + { posts .sort( diff --git a/src/pages/index.astro b/src/pages/index.astro index 301aecd..02b5bdc 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -19,9 +19,9 @@ const latestPost = posts.sort( )[0]; --- - +
- +

My name is Graham (he/him), a full-stack web developer, and @@ -38,9 +38,8 @@ const latestPost = posts.sort( development, and whatever else strikes my fancy.

- Read my latest blog post, {latestPost.data.title}{latestPost.data.title}, from {new Date(latestPost.data.pubDate).toLocaleDateString()}.

@@ -66,3 +65,9 @@ const latestPost = posts.sort( >.

+ +