use summary image sizes
This commit is contained in:
parent
13bc31d227
commit
9aaecdeb5b
3 changed files with 6 additions and 2 deletions
|
|
@ -10,7 +10,8 @@
|
|||
keywords = '',
|
||||
author = 'Outpoot',
|
||||
canonicalUrl = '',
|
||||
noindex = false
|
||||
noindex = false,
|
||||
twitterCard = 'summary_large_image'
|
||||
}: {
|
||||
title?: string;
|
||||
description?: string;
|
||||
|
|
@ -21,6 +22,7 @@
|
|||
author?: string;
|
||||
canonicalUrl?: string;
|
||||
noindex?: boolean;
|
||||
twitterCard?: 'summary' | 'summary_large_image';
|
||||
} = $props();
|
||||
|
||||
let currentUrl = $derived($page?.url?.href || '');
|
||||
|
|
@ -64,7 +66,7 @@
|
|||
<meta property="og:locale" content="en_US" />
|
||||
|
||||
<!-- Twitter Card Meta Tags -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:card" content={twitterCard} />
|
||||
<meta name="twitter:title" content={title} />
|
||||
<meta name="twitter:description" content={description} />
|
||||
<meta name="twitter:image" content={fullImageUrl} />
|
||||
|
|
|
|||
Reference in a new issue