From d54fc38899b3ffc87104ed03f5e48be3f02e337c Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 7 Jun 2022 15:59:48 +0200 Subject: chore: use image title as figure label if no caption is provided --- src/utils/helpers/projects.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utils/helpers/projects.ts') diff --git a/src/utils/helpers/projects.ts b/src/utils/helpers/projects.ts index a0f0c04..88f4516 100644 --- a/src/utils/helpers/projects.ts +++ b/src/utils/helpers/projects.ts @@ -46,6 +46,7 @@ export const getProjectData = async ( ...cover.default, alt: `${title} image`, src: `/projects/${filename}.jpg`, + title, }, }, slug: filename, -- cgit v1.2.3