Commit 9e68972
Changed files (1)
src
pages
posts
src/pages/posts/index.astro
@@ -26,15 +26,17 @@ const postsByYear = sortedPosts.reduce(
const globalI18n = getIntlayer("global", SITE_CONFIG.locale);
---
<BaseLayout title={globalI18n.posts}>
- <h1>{globalI18n.posts}</h1>
- {
- Object.entries(postsByYear)
- .reverse()
- .map(([year, posts]) => (
- <section>
- <h2>{year}</h2>
- <PostsList posts={posts} />
- </section>
- ))
- }
+ <div style={{fontSize: "1.2rem"}}>
+ <h1>{globalI18n.posts}</h1>
+ {
+ Object.entries(postsByYear)
+ .reverse()
+ .map(([year, posts]) => (
+ <section>
+ <h2>{year}</h2>
+ <PostsList posts={posts} />
+ </section>
+ ))
+ }
+ </div>
</BaseLayout>