Update www for v0.21 (#1938)
* chore: update www for v0.21 * chore: update hero image * chore: fix hero image
This commit is contained in:
parent
9eb00b429a
commit
69d518dd8c
6 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
|||
# Netlify Redirects
|
||||
/chat https://discord.gg/grF4GTXXYm
|
||||
/play/* https://play.astro.build/play/:splat 200
|
||||
/play/* https://play.astro.build/play/:splat 200
|
||||
/v0.21 /blog/astro-021-release/ 301
|
||||
|
|
BIN
www/public/assets/blog/astro-021-release/hero.png
Normal file
BIN
www/public/assets/blog/astro-021-release/hero.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 MiB |
BIN
www/public/assets/blog/astro-021-release/social.png
Normal file
BIN
www/public/assets/blog/astro-021-release/social.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 697 KiB |
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue