forked from InjectiveLabs/injective-helix-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhead.config.js
40 lines (35 loc) · 885 Bytes
/
head.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
const { nuxtMetaTags } = require('./meta.config')
const meta = [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
]
if (process.env.META_TAGS_ENABLED === 'true') {
meta.push(...nuxtMetaTags)
}
if (process.env.APP_GOOGLE_SITE_VERIFICATION_KEY) {
meta.push({
name: 'google-site-verification',
content: process.env.APP_GOOGLE_SITE_VERIFICATION_KEY
})
}
const scripts = []
module.exports = {
titleTemplate: process.env.APP_NAME,
meta,
htmlAttrs: {
class: 'bg-gray-1000'
},
bodyAttrs: {
class: 'overflow-fix'
},
script: scripts,
link: [
{ rel: 'icon', type: 'image/png', href: '/helix-favicon.png?v=1' },
{ rel: 'shortcut-icon', type: 'image/png', href: '/helix-favicon.png?v=1' },
{
rel: 'apple-touch-icon',
type: 'image/png',
href: '/helix-favicon.png?v=1'
}
]
}