File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ interface Props {
55}
66const { title, description } = Astro .props ;
77const canonicalUrl = Astro .url .href ;
8+ const siteUrl = Astro .site ?.origin ?? ' https://sshtoolkit.otaviomiranda.com.br' ;
9+ const ogImage = ` ${siteUrl }/og-image.png ` ;
810const currentPath = Astro .url .pathname ;
911
1012const navItems = [
@@ -31,11 +33,16 @@ const navItems = [
3133 <meta property =" og:url" content ={ canonicalUrl } />
3234 <meta property =" og:locale" content =" pt_BR" />
3335 <meta property =" og:site_name" content =" SSH Toolkit" />
36+ <meta property =" og:image" content ={ ogImage } />
37+ <meta property =" og:image:width" content =" 1200" />
38+ <meta property =" og:image:height" content =" 630" />
39+ <meta property =" og:image:type" content =" image/png" />
3440
3541 <!-- Twitter -->
36- <meta name =" twitter:card" content =" summary " />
42+ <meta name =" twitter:card" content =" summary_large_image " />
3743 <meta name =" twitter:title" content ={ title } />
3844 <meta name =" twitter:description" content ={ description } />
45+ <meta name =" twitter:image" content ={ ogImage } />
3946
4047 <!-- Extras -->
4148 <meta name =" robots" content =" index, follow" />
You can’t perform that action at this time.
0 commit comments