Skip to content

Commit

Permalink
feat: index prevention
Browse files Browse the repository at this point in the history
  • Loading branch information
rayriffy committed May 2, 2023
1 parent dbf0287 commit 425c36b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/orange-falcons-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'creatorsgarten-wiki': minor
---

Prevent wiki.creators from indexing, content duplication with creatorsgarten.org/wiki
2 changes: 2 additions & 0 deletions wiki.creatorsgarten.org/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /
1 change: 1 addition & 0 deletions wiki.creatorsgarten.org/src/layouts/base.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const { title } = Astro.props
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex" />
<link rel="shortcut icon" type="image/svg" href="/images/ring.svg" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down

1 comment on commit 425c36b

@hop-deploy
Copy link

@hop-deploy hop-deploy bot commented on 425c36b May 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment Status Build Logs Updated At
wonderwiki ✅ Deployed View Logs 2023-05-02T18:36:49.180Z

Please sign in to comment.