From 038c49de166a05d8a91fa40ead698c8b930bc9d2 Mon Sep 17 00:00:00 2001 From: Jeff Sagal Date: Wed, 27 Mar 2024 12:23:56 -0700 Subject: [PATCH] fix: remove noindex tags --- docs/.vuepress/config/head.js | 11 +---------- docs/.vuepress/config/isDeployPreview.js | 1 - docs/.vuepress/config/plugins.js | 2 -- 3 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 docs/.vuepress/config/isDeployPreview.js diff --git a/docs/.vuepress/config/head.js b/docs/.vuepress/config/head.js index 946d6ab16..0fa2ec5fe 100644 --- a/docs/.vuepress/config/head.js +++ b/docs/.vuepress/config/head.js @@ -1,12 +1,10 @@ -const isDeployPreview = require('./isDeployPreview') const meta = require('./meta') const head = [ [ 'link', { - href: - '//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Roboto Mono', + href: '//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Roboto Mono', rel: 'stylesheet', type: 'text/css', }, @@ -57,11 +55,4 @@ const head = [ ['meta', { property: 'og:url', content: meta.url }], ] -if (isDeployPreview) { - head.push( - ['meta', { name: 'robots', content: 'noindex' }], - ['meta', { name: 'googlebot', content: 'noindex' }] - ) -} - module.exports = head diff --git a/docs/.vuepress/config/isDeployPreview.js b/docs/.vuepress/config/isDeployPreview.js deleted file mode 100644 index ee53cc09c..000000000 --- a/docs/.vuepress/config/isDeployPreview.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = process.env.hasOwnProperty('DEPLOY_PREVIEW') diff --git a/docs/.vuepress/config/plugins.js b/docs/.vuepress/config/plugins.js index ace38870b..9950ddc1b 100644 --- a/docs/.vuepress/config/plugins.js +++ b/docs/.vuepress/config/plugins.js @@ -1,5 +1,3 @@ -const isDeployPreview = require('./isDeployPreview') - module.exports = [ [ '@vuepress/pwa',