Skip to content

Commit

Permalink
docs: remove noindex tags (#1827)
Browse files Browse the repository at this point in the history
  • Loading branch information
sagalbot authored Mar 27, 2024
1 parent 3894962 commit a573a76
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
11 changes: 1 addition & 10 deletions docs/.vuepress/config/head.js
Original file line number Diff line number Diff line change
@@ -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',
},
Expand Down Expand Up @@ -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
1 change: 0 additions & 1 deletion docs/.vuepress/config/isDeployPreview.js

This file was deleted.

2 changes: 0 additions & 2 deletions docs/.vuepress/config/plugins.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const isDeployPreview = require('./isDeployPreview')

module.exports = [
[
'@vuepress/pwa',
Expand Down

0 comments on commit a573a76

Please sign in to comment.