Skip to content

Commit f9f9e86

Browse files
Merge pull request #42 from audacity/post-download-noindex
don't index the post-download page
2 parents f3fc040 + ff95c5e commit f9f9e86

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
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"

src/pages/post-download.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "../styles/icons.css";
55
import logo from "../assets/img/promo/audacity-audiocom-promo.png";
66
---
77

8-
<BaseLayout title="Audacity Cloud Saving Platform" description="Sync & save projects in Audacity Cloud. Secure, automatic, and always accessible.">
8+
<BaseLayout title="Audacity Cloud Saving Platform" description="Sync & save projects in Audacity Cloud. Secure, automatic, and always accessible." index="noindex">
99
<section>
1010
<div class="text-center bg-blue-700 py-4">
1111
<p class="text-lg text-white">Thank you for downloading Audacity!</p>

0 commit comments

Comments
 (0)