diff --git a/docs/.vuepress/config/head.js b/docs/.vuepress/config/head.js index 946d6ab..0fa2ec5 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 ee53cc0..0000000 --- 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 ace3887..9950ddc 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',