mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
docs: remove noindex tags (#1827)
This commit is contained in:
@@ -1,12 +1,10 @@
|
|||||||
const isDeployPreview = require('./isDeployPreview')
|
|
||||||
const meta = require('./meta')
|
const meta = require('./meta')
|
||||||
|
|
||||||
const head = [
|
const head = [
|
||||||
[
|
[
|
||||||
'link',
|
'link',
|
||||||
{
|
{
|
||||||
href:
|
href: '//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Roboto Mono',
|
||||||
'//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Roboto Mono',
|
|
||||||
rel: 'stylesheet',
|
rel: 'stylesheet',
|
||||||
type: 'text/css',
|
type: 'text/css',
|
||||||
},
|
},
|
||||||
@@ -57,11 +55,4 @@ const head = [
|
|||||||
['meta', { property: 'og:url', content: meta.url }],
|
['meta', { property: 'og:url', content: meta.url }],
|
||||||
]
|
]
|
||||||
|
|
||||||
if (isDeployPreview) {
|
|
||||||
head.push(
|
|
||||||
['meta', { name: 'robots', content: 'noindex' }],
|
|
||||||
['meta', { name: 'googlebot', content: 'noindex' }]
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = head
|
module.exports = head
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = process.env.hasOwnProperty('DEPLOY_PREVIEW')
|
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
const isDeployPreview = require('./isDeployPreview')
|
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
[
|
[
|
||||||
'@vuepress/pwa',
|
'@vuepress/pwa',
|
||||||
|
|||||||
Reference in New Issue
Block a user