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 Binary files /dev/null and b/www/public/assets/blog/astro-021-release/hero.png 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 Binary files /dev/null and b/www/public/assets/blog/astro-021-release/social.png 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; ---
-