From e9c9638cc583527ec92d87a47e46c5ce08e16c44 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Thu, 3 Oct 2024 17:26:54 +0200 Subject: [PATCH] fix: pluralization --- src/layouts/MarkdownPage.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/MarkdownPage.astro b/src/layouts/MarkdownPage.astro index 9809dff..1cb5f76 100644 --- a/src/layouts/MarkdownPage.astro +++ b/src/layouts/MarkdownPage.astro @@ -25,7 +25,7 @@ function upperFirst(string) { { tutorEntries && (
-

I Tutor

+

{tutorEntries.length === 1 ? 'Il' : 'I'} Tutor

{tutorEntries.map(({ name, image, contacts }) => (

{name ?? '???'}