summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Caleb Jasik <calebjasik@jasik.xyz> 2021-10-18 12:40:22 -0500
committerGravatar GitHub <noreply@github.com> 2021-10-18 19:40:22 +0200
commita788a876f8234d6680a637964e32330a8c1a398e (patch)
tree41e4a85625a40ca1f3d21f5d91d81c4b11affab9
parent90618131cc591f5800f6ef373df6a8aece14701d (diff)
downloadastro-a788a876f8234d6680a637964e32330a8c1a398e.tar.gz
astro-a788a876f8234d6680a637964e32330a8c1a398e.tar.zst
astro-a788a876f8234d6680a637964e32330a8c1a398e.zip
Fix mismatched props in `www` (#1574)
-rw-r--r--www/src/components/Note.astro2
-rw-r--r--www/src/pages/blog/astro-repl.astro2
-rw-r--r--www/src/pages/blog/index.astro2
-rw-r--r--www/src/pages/blog/introducing-astro.astro2
4 files changed, 4 insertions, 4 deletions
diff --git a/www/src/components/Note.astro b/www/src/components/Note.astro
index 12fc396bc..abbdb987b 100644
--- a/www/src/components/Note.astro
+++ b/www/src/components/Note.astro
@@ -1,6 +1,6 @@
---
export interface Props {
- title: string;
+ title?: string;
type?: 'tip' | 'warning' | 'error'
}
const { type = 'tip', title } = Astro.props;
diff --git a/www/src/pages/blog/astro-repl.astro b/www/src/pages/blog/astro-repl.astro
index 91a6c3542..f79c7a1dd 100644
--- a/www/src/pages/blog/astro-repl.astro
+++ b/www/src/pages/blog/astro-repl.astro
@@ -13,7 +13,7 @@ let lang = 'en';
<html lang={ lang ?? 'en' }>
<head>
- <BaseHead title={title} description={description} permalink={permalink} image="https://astro.build/assets/blog/astro-repl/astro-repl-social.jpg" />
+ <BaseHead title={title} description={description} canonicalURL={permalink} image="https://astro.build/assets/blog/astro-repl/astro-repl-social.jpg" />
<link rel="stylesheet" href={Astro.resolve('../../scss/blog.css')} />
</head>
diff --git a/www/src/pages/blog/index.astro b/www/src/pages/blog/index.astro
index 5ea37c043..410ac1727 100644
--- a/www/src/pages/blog/index.astro
+++ b/www/src/pages/blog/index.astro
@@ -11,7 +11,7 @@ let lang = 'en';
<html lang={ lang ?? 'en' }>
<head>
- <BaseHead title={title} description={description} permalink={permalink} />
+ <BaseHead title={title} description={description} canonicalURL={permalink} />
<link rel="stylesheet" href={Astro.resolve('../../scss/blog.css')} />
<style>
diff --git a/www/src/pages/blog/introducing-astro.astro b/www/src/pages/blog/introducing-astro.astro
index cf57e685b..b95c9ff41 100644
--- a/www/src/pages/blog/introducing-astro.astro
+++ b/www/src/pages/blog/introducing-astro.astro
@@ -18,7 +18,7 @@ let lang = 'en';
<html lang={ lang ?? 'en' }>
<head>
- <BaseHead title={title} description={description} permalink={permalink} />
+ <BaseHead title={title} description={description} canonicalURL={permalink} />
<link rel="stylesheet" href={Astro.resolve('../../scss/blog.css')} />
</head>