Skip to content

Commit a74f9e1

Browse files
committed
fix: remove description for now
1 parent 83456d0 commit a74f9e1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/components/BaseHead.astro

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ import { SITE_TITLE } from '../consts';
66
77
interface Props {
88
title: string;
9-
description: string;
109
}
1110
1211
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
1312
14-
const { title, description } = Astro.props;
13+
const { title } = Astro.props;
1514
---
1615

1716
<!-- Global Metadata -->
@@ -37,7 +36,7 @@ const { title, description } = Astro.props;
3736
<!-- Primary Meta Tags -->
3837
<title>{title}</title>
3938
<meta name="title" content={title} />
40-
<meta name="description" content={description} />
39+
<!-- <meta name="description" content={description} /> -->
4140

4241
<!-- Open Graph / Facebook -->
4342
<meta property="og:type" content="website" />
@@ -49,6 +48,6 @@ const { title, description } = Astro.props;
4948
<meta property="twitter:card" content="summary_large_image" />
5049
<meta property="twitter:url" content={Astro.url} />
5150
<meta property="twitter:title" content={title} />
52-
<meta property="twitter:description" content={description} />
51+
<!-- <meta property="twitter:description" content={description} /> -->
5352
<!-- <meta property="twitter:image" content={new URL(image, Astro.url)} /> -->
5453

src/layouts/BlogPost.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import { Image } from 'astro:assets'
99
1010
type Props = CollectionEntry<'blog'>['data'];
1111
12-
const { title, description, pubDate, updatedDate, carouselImages, tags } = Astro.props;
12+
const { title, pubDate, updatedDate, carouselImages, tags } = Astro.props;
1313
---
1414

1515
<html lang="en" class="bg-black text-gray-100">
1616
<head>
17-
<BaseHead title={title} description={description} />
17+
<BaseHead title={title} />
1818
</head>
1919

2020
<body class="min-h-screen flex flex-col">

0 commit comments

Comments
 (0)