Skip to content

Commit 35be3a3

Browse files
committed
Revert "Revert "don't index the post-download page""
This reverts commit 43525e9.
1 parent 43525e9 commit 35be3a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/layouts/BaseLayout.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ import useBrowserOS from "../hooks/useDetectOS";
1111
export interface Props {
1212
title: string;
1313
description: string;
14+
index: string;
1415
}
1516
const {
1617
title = "Audacity | Free Audio editor, recorder, music making and more!",
1718
description = "Audacity is the world's most popular audio editing and recording app. Edit, mix, and enhance your audio tracks with the power of Audacity. Download now!",
19+
index = "all",
1820
} = Astro.props;
1921
2022
const isPostDownloadPage = Astro.request.url.includes("/post-download");
@@ -32,6 +34,7 @@ const isPostDownloadPage = Astro.request.url.includes("/post-download");
3234
<link rel="sitemap" href="/sitemap-index.xml" />
3335
<meta name="title" content={title} />
3436
<meta name="description" content={description} />
37+
<meta name="robots" content={index} />
3538
<meta
3639
name="keywords"
3740
content="Audacity, audio editing, audio recorder, open-source, audio software, sound editing, audio mixer"

0 commit comments

Comments
 (0)