Skip to content

Commit

Permalink
update metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
KishiTheMechanic committed Oct 9, 2024
1 parent e8977b0 commit 1cac54f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 26 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ tmp/
# Selenium Profile
.profile

**/sitemap*.xml
**/sitemap*.xml
**/robots.txt
9 changes: 0 additions & 9 deletions public/robots.txt

This file was deleted.

9 changes: 3 additions & 6 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,17 @@ export async function generateMetadata({ params: { locale } }: Props) {
keywords: t('keywords'),
title: {
template: `%s | ${t('appTitle')}`,
default: t('defaultTitle'),
default: `${t('defaultTitle')} | ${t('appTitle')}`,
},
description: t('defaultDescription'),
openGraph: {
title: {
template: `%s | ${t('appTitle')}`,
default: t('defaultTitle'),
},
description: t('defaultDescription'),
locale,
type: 'website',
},
twitter: {
card: 'summary_large_image',
creator: appInfo.twitterId,
site: appInfo.twitterId,
},
robots: {
index: true,
Expand Down
1 change: 1 addition & 0 deletions src/app/opengraph-image.alt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Skeet - TypeScript Serverless Framework
5 changes: 0 additions & 5 deletions src/app/opengraph-image.tsx

This file was deleted.

1 change: 1 addition & 0 deletions src/app/twitter-image.alt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Skeet - TypeScript Serverless Framework
5 changes: 0 additions & 5 deletions src/app/twitter-image.tsx

This file was deleted.

0 comments on commit 1cac54f

Please sign in to comment.