From b69360630b222f585117f149458e4a19bb1c62ac Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 7 May 2022 12:38:27 -0500 Subject: [PATCH] Add benchmark titles --- src/pages/app/[...appPath].astro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/app/[...appPath].astro b/src/pages/app/[...appPath].astro index efa737e..e6be725 100644 --- a/src/pages/app/[...appPath].astro +++ b/src/pages/app/[...appPath].astro @@ -62,9 +62,12 @@ const headOptions = listingDetails.headOptions if ( isBenchmarkPage ) { + // Set the page title + headOptions.title = `${ listingDetails.api.name } Benchmarks for Apple Silicon - Does It ARM` + const { preloads } = getVideoImages( listingDetails.initialVideo ) - // Preload video thumbnail + // Add image preloads for video thumbnail headOptions.link = [ ...headOptions.link, ...preloads