From d174602cc089765d3a914fc70b5ce331c4d4e3b4 Mon Sep 17 00:00:00 2001 From: Redblueflame Date: Thu, 10 Jun 2021 16:17:03 +0200 Subject: [PATCH] Add indexing meta value depending on the status of the mod. (#261) --- pages/mod/_id.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/mod/_id.vue b/pages/mod/_id.vue index 05e36f128..4f55ed980 100644 --- a/pages/mod/_id.vue +++ b/pages/mod/_id.vue @@ -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', + }, ], } },