diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 1cbe736..c2558e3 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -7,15 +7,17 @@ const posts = (await getCollection('posts')).sort((a, b) => b.data.date.getTime( --- -
- {posts.map((post) => ( - - ))} -
+ {posts.map((post) => ( + +
+ +

{post.data.title}

+ {post.data.featuredImage && {post.data.title}} +
+

{post.data.excerpt}Read the Rest...

+
+
+
+
+ ))}
diff --git a/src/pages/index.astro b/src/pages/index.astro index 690ba68..c884b62 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -15,20 +15,22 @@ const posts = (await getCollection('posts')).sort((a, b) => b.data.date.getTime( -
- {posts.map((post) => ( - - ))} -
+ {posts.map((post) => ( + +
+ +

{post.data.title}

+ {/* 210x150 cropped from left-top, matching the theme's set_post_thumbnail_size(). + The featured images are 930x354 slide banners, so a centre crop would cut off + the subject, which sits in the left portion. */} + {post.data.featuredImage && {post.data.title}} +
+

{post.data.excerpt}Read the Rest...

+
+
+
+
+ ))}