Skip to content

Commit 89ccb7f

Browse files
committed
Switch up title and description.
1 parent a774a79 commit 89ccb7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/layouts/Layout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const {
4444
} = Astro.props
4545
4646
const canonicalUrl = new URL(Astro.url.pathname, Astro.site).toString()
47-
const pageTitle = `${title} | DDEV`
47+
const pageTitle = title !== '' ? `${title} | DDEV` : 'DDEV'
4848
4949
let jsonLd = {
5050
"@context": "https://schema.org",

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import SoftwareLogos from "@components/SoftwareLogos.astro"
1111
import { GITHUB_REPO } from "../const"
1212
---
1313

14-
<Layout title={`Start new DDEV projects in seconds. Customize, share, and extend with ease.`}>
14+
<Layout title={``} description={`Local development environments in seconds. Customize, share, and extend with ease.`}>
1515
<main>
1616
<Hero />
1717

0 commit comments

Comments
 (0)