summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/public/_redirects3
-rw-r--r--www/public/assets/blog/astro-021-release/hero.pngbin0 -> 2563451 bytes
-rw-r--r--www/public/assets/blog/astro-021-release/social.pngbin0 -> 713530 bytes
-rw-r--r--www/src/data/blog-posts/astro-021-preview.md1
-rw-r--r--www/src/data/blog-posts/astro-021-release.md3
-rw-r--r--www/src/pages/blog/[slug].astro4
6 files changed, 7 insertions, 4 deletions
diff --git a/www/public/_redirects b/www/public/_redirects
index dfd9552dd..2478caf5a 100644
--- a/www/public/_redirects
+++ b/www/public/_redirects
@@ -1,3 +1,4 @@
# Netlify Redirects
/chat https://discord.gg/grF4GTXXYm
-/play/* https://play.astro.build/play/:splat 200 \ No newline at end of file
+/play/* https://play.astro.build/play/:splat 200
+/v0.21 /blog/astro-021-release/ 301
diff --git a/www/public/assets/blog/astro-021-release/hero.png b/www/public/assets/blog/astro-021-release/hero.png
new file mode 100644
index 000000000..290928c4a
--- /dev/null
+++ b/www/public/assets/blog/astro-021-release/hero.png
Binary files differ
diff --git a/www/public/assets/blog/astro-021-release/social.png b/www/public/assets/blog/astro-021-release/social.png
new file mode 100644
index 000000000..15957b8f1
--- /dev/null
+++ b/www/public/assets/blog/astro-021-release/social.png
Binary files differ
diff --git a/www/src/data/blog-posts/astro-021-preview.md b/www/src/data/blog-posts/astro-021-preview.md
index 55ecad1b5..338cff00a 100644
--- a/www/src/data/blog-posts/astro-021-preview.md
+++ b/www/src/data/blog-posts/astro-021-preview.md
@@ -6,6 +6,7 @@ permalink: 'https://astro.build/blog/astro-021-preview'
lang: 'en'
heroImage: '/assets/blog/astro-021-preview/hero.png'
heroImageAlt: 'Spacecraft overlooking Earth'
+socialImage: '/assets/blog/astro-021-preview/social.png'
---
Astro v0.21.0 will be our biggest release yet. At a high-level, it includes:
diff --git a/www/src/data/blog-posts/astro-021-release.md b/www/src/data/blog-posts/astro-021-release.md
index 8414b17bb..43bbc428e 100644
--- a/www/src/data/blog-posts/astro-021-release.md
+++ b/www/src/data/blog-posts/astro-021-release.md
@@ -5,8 +5,9 @@ description: 'Astro v0.21.0 is finally here!'
publishDate: 'November 19, 2021'
permalink: 'https://astro.build/blog/astro-021-release'
lang: 'en'
+socialImage: '/assets/blog/astro-021-release/social.png'
heroImage: '/assets/blog/astro-021-preview/hero.png'
-heroImageAlt: 'Spacecraft overlooking Earth'
+heroImageAlt: 'Astro v0.21 Release Notes'
---
Astro v0.21.0 is finally here! This is by far our biggest release ever, including a ground-up rewrite of some major Astro internals. After months of development and public testing, we are so excited to get this new version of Astro into your hands, featuring:
diff --git a/www/src/pages/blog/[slug].astro b/www/src/pages/blog/[slug].astro
index fb1af91ab..bdf35d1e5 100644
--- a/www/src/pages/blog/[slug].astro
+++ b/www/src/pages/blog/[slug].astro
@@ -12,12 +12,12 @@ export function getStaticPaths() {
}));
}
-const { Content, title, author, description, publishDate, heroImage, heroImageAlt, permalink, lang } = Astro.props.post;
+const { Content, title, author, description, publishDate, heroImage, heroImageAlt, socialImage, permalink, lang } = Astro.props.post;
---
<html lang={lang ?? 'en'}>
<head>
- <BaseHead title={title} description={description} canonicalURL={permalink} image="https://astro.build/assets/blog/astro-021-preview/social.png" />
+ <BaseHead title={title} description={description} canonicalURL={permalink} image={socialImage} />
<link rel="stylesheet" href={Astro.resolve('../../scss/blog.scss')} />
</head>
<body>