Skip to content

Commit

Permalink
feat(website): #326 add meta description tag
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGreenTea committed Aug 2, 2024
1 parent 1676134 commit 0de75be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import NewsletterDialog from './NewsletterDialog.svelte';
export interface Props {
title: string;
description: string;
}
const { title } = Astro.props;
const { title, description } = Astro.props;
---

<!doctype html>
Expand All @@ -29,6 +30,8 @@ const { title } = Astro.props;
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<meta name="description" content={description} />
</head>

<body class="bg-background">
Expand Down

0 comments on commit 0de75be

Please sign in to comment.