Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ AUTHOR_NAME=Your Full Name
TWITTER_HANDLE=yourtwitterhandle
EMAIL=your-email@example.com
WEBSITE_URL=https://yourwebsite.com
SITE_NAME=Your Name - Your Title
SITE_NAME=Your Site Name
SITE_DESCRIPTION=Your professional description here.
ABOUT_TEXT=Your about text describing your background and interests.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ All content is driven by environment variables — no CMS required. See [`.env.e
| `TWITTER_HANDLE` | Twitter/X username (without `@`) for SEO |
| `EMAIL` | Contact email in Connect and footer |
| `WEBSITE_URL` | Canonical site URL |
| `SITE_NAME` | Site title |
| `SITE_NAME` | Base site name (e.g. brand or domain) |
| `SITE_DESCRIPTION` | Meta description |
| `ABOUT_TEXT` | About section body text |
| `SITE_KEYWORDS` | JSON array of SEO keywords |
Expand Down
10 changes: 5 additions & 5 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export const viewport: Viewport = {

export const metadata: Metadata = {
title: {
default: SITE_NAME,
template: '%s | ' + SITE_NAME,
default: `${SITE_NAME} - ${AUTHOR_NAME}`,
template: '%s - ' + SITE_NAME,
},
description: SITE_DESCRIPTION,
metadataBase: new URL(WEBSITE_URL),
Expand All @@ -42,7 +42,7 @@ export const metadata: Metadata = {
telephone: false,
},
openGraph: {
title: SITE_NAME,
title: `${SITE_NAME} - ${AUTHOR_NAME}`,
description: SITE_DESCRIPTION,
url: '/',
siteName: SITE_NAME,
Expand All @@ -52,14 +52,14 @@ export const metadata: Metadata = {
url: '/opengraph-image',
width: 1200,
height: 630,
alt: SITE_NAME,
alt: `${SITE_NAME} - ${AUTHOR_NAME}`,
},
],
locale: 'en_US',
},
twitter: {
card: 'summary_large_image',
title: SITE_NAME,
title: `${SITE_NAME} - ${AUTHOR_NAME}`,
description: SITE_DESCRIPTION,
site: TWITTER_HANDLE ? `@${TWITTER_HANDLE}` : undefined,
creator: TWITTER_HANDLE ? `@${TWITTER_HANDLE}` : undefined,
Expand Down
Loading