From 423344fca500ab017c3cb7cb4b53f763400f5186 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 11 Jun 2025 17:20:43 +0000 Subject: chore: remove unused environment variables and update layout components - Deleted the .env and src/env.d.ts files as they are no longer needed. - Updated BaseLayout to require title and description props directly, ensuring better clarity in component usage. - Adjusted various pages to pass explicit title and description values, enhancing SEO and user experience. - Increased print width in .prettierrc.mjs for improved code formatting. --- src/pages/blog/index.astro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/pages/blog/index.astro') diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 0c33b66..b240cfa 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -4,6 +4,9 @@ import { getCollection } from "astro:content"; import Layout from "../../layouts/BaseLayout.astro"; import PostElement from "../../components/PostElement.astro"; +const title = "Blog | Valentin Popov"; +const description = "A collection of articles on software development, tech leadership and open-source experiments."; + const posts = await getCollection("blog", ({ data }) => { return data.draft !== true; }); @@ -22,7 +25,7 @@ const postsByYear = posts.reduce[]>>((acc const years = Object.keys(postsByYear).sort((a, b) => Number(b) - Number(a)); --- - +
{ years.map((year) => ( -- cgit v1.2.3