Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Add indexing meta value depending on the status of the mod. (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
Redblueflame authored Jun 10, 2021
1 parent 46bc04f commit d174602
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pages/mod/_id.vue
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,11 @@ export default {
? this.mod.icon_url
: 'https://cdn.modrinth.com/placeholder.png',
},
{
hid: 'robots',
name: 'robots',
content: this.mod.status !== 'approved' ? 'noindex' : 'all',
},
],
}
},
Expand Down

0 comments on commit d174602

Please sign in to comment.