Skip to content

Commit a868eeb

Browse files
update metadata
1 parent f54efc7 commit a868eeb

5 files changed

+9
-17
lines changed

src/app/layout.tsx

+7-7
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@ export async function generateMetadata({ params: { locale } }: Props) {
2121
metadataBase: new URL(
2222
process.env.NODE_ENV === 'production'
2323
? `https://${appInfo.domain}`
24-
: 'http://localhost:4200',
24+
: 'http://localhost:4242',
2525
),
26+
generator: appInfo.copyright,
27+
applicationName: t('appTitle'),
28+
keywords: t('keywords'),
2629
title: {
2730
template: `%s | ${t('appTitle')}`,
28-
default: t('defaultTitle'),
31+
default: `${t('defaultTitle')} | ${t('appTitle')}`,
2932
},
3033
description: t('defaultDescription'),
3134
openGraph: {
32-
title: {
33-
template: `%s | ${t('appTitle')}`,
34-
default: t('defaultTitle'),
35-
},
36-
description: t('defaultDescription'),
3735
locale,
3836
type: 'website',
3937
},
4038
twitter: {
39+
card: 'summary_large_image',
4140
creator: appInfo.twitterId,
41+
site: appInfo.twitterId,
4242
},
4343
robots: {
4444
index: false,

src/app/opengraph-image.alt.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Skeet - TypeScript Serverless Framework

src/app/opengraph-image.tsx

-5
This file was deleted.

src/app/twitter-image.alt.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Skeet - TypeScript Serverless Framework

src/app/twitter-image.tsx

-5
This file was deleted.

0 commit comments

Comments
 (0)