Fix mismatched props in www
(#1574)
This commit is contained in:
parent
90618131cc
commit
a788a876f8
4 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
export interface Props {
|
||||
title: string;
|
||||
title?: string;
|
||||
type?: 'tip' | 'warning' | 'error'
|
||||
}
|
||||
const { type = 'tip', title } = Astro.props;
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue