From 2a52ada63bfad09ed2fe987b91a18140a55f7d51 Mon Sep 17 00:00:00 2001 From: Nathan Cummins Date: Wed, 22 Jul 2026 09:46:57 +0200 Subject: [PATCH] Add ongoing text --- src/components/ProjectCard.astro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/ProjectCard.astro b/src/components/ProjectCard.astro index 02f7da8..aba42a6 100644 --- a/src/components/ProjectCard.astro +++ b/src/components/ProjectCard.astro @@ -148,10 +148,12 @@ const link = `/projects/${slugify(project.data.type)}/${slugify(project.data.slu {project.data.title} ) }{!projectHasBody && project.data.title}{ - !project.data.ongoing && ( + ( {" "} - ({project.data.date.getFullYear()}) + {project.data.ongoing + ? "(ongoing)" + : "(" + project.data.date.getFullYear() + ")"} ) }