Add indexing meta value depending on the status of the mod. (#261)

This commit is contained in:
Redblueflame 2021-06-10 16:17:03 +02:00 committed by GitHub
parent 46bc04f69f
commit d174602cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
},
],
}
},