Removing Astro description in meta description
This commit is contained in:
parent
5cf6ecbad8
commit
892e4f6b0d
|
@ -2,10 +2,11 @@
|
|||
interface Props {
|
||||
frontmatter: {
|
||||
title: string;
|
||||
description: string;
|
||||
};
|
||||
}
|
||||
|
||||
const { title } = Astro.props.frontmatter;
|
||||
const { title, description } = Astro.props.frontmatter;
|
||||
|
||||
import Nav from '../components/nav.astro';
|
||||
import '../styles/markdown.css';
|
||||
|
@ -15,7 +16,7 @@ import '../styles/markdown.css';
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="description" content="Astro description" />
|
||||
<meta name="description" content={description} />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
|
||||
<title>exozine - {title}</title>
|
||||
|
|
|
@ -18,7 +18,7 @@ export const data = await getCollection('posts');
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="description" content="Astro description" />
|
||||
<meta name="description" content="The monthly exozyme magazine." />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
|
||||
<title>exozine</title>
|
||||
|
|
Loading…
Reference in a new issue