Add benchmark titles

This commit is contained in:
Sam Carlton 2022-05-07 12:38:27 -05:00
parent 0e74d69aed
commit b69360630b

View file

@ -62,9 +62,12 @@ const headOptions = listingDetails.headOptions
if ( isBenchmarkPage ) { if ( isBenchmarkPage ) {
// Set the page title
headOptions.title = `${ listingDetails.api.name } Benchmarks for Apple Silicon - Does It ARM`
const { preloads } = getVideoImages( listingDetails.initialVideo ) const { preloads } = getVideoImages( listingDetails.initialVideo )
// Preload video thumbnail // Add image preloads for video thumbnail
headOptions.link = [ headOptions.link = [
...headOptions.link, ...headOptions.link,
...preloads ...preloads