Switch to Google Adsense

This commit is contained in:
Geometrically
2021-01-17 20:14:10 -07:00
parent f21f758591
commit 0cced44491
12 changed files with 145 additions and 165 deletions

View File

@@ -47,7 +47,6 @@ export default {
},
{ hid: 'twitter:card', name: 'twitter:card', content: 'summary' },
{ hid: 'twitter:site', name: 'twitter:site', content: '@modrinth' },
{ name: 'propeller', content: '9542802736cdc223303e7a97b071550c' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
@@ -64,15 +63,6 @@ export default {
async: true,
defer: true,
},
{
src: 'https://media.ethicalads.io/media/client/ethicalads.min.js',
async: true,
},
{
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js',
'data-ad-client': 'ca-pub-4615302805870170',
async: true,
},
],
},
@@ -126,6 +116,7 @@ export default {
'@nuxtjs/sitemap',
'nuxt-clipboard2',
'@nuxtjs/style-resources',
'@nuxtjs/google-adsense',
],
robots: {
Sitemap: 'https://modrinth.com/sitemap.xml',
@@ -158,6 +149,9 @@ export default {
},
},
},
'google-adsense': {
id: 'ca-pub-4615302805870170',
},
dayjs: {
locales: ['en'],
defaultLocale: 'en',