add goatcounter

master
gman 1 year ago
parent 2fe1c63f18
commit e4192f3d4f

@ -9,9 +9,20 @@ export default defineConfig({
redirects: { redirects: {
'/': '/chapters', '/': '/chapters',
}, },
integrations: [starlight({ integrations: [
starlight({
title: 'Веб-картография', title: 'Веб-картография',
description: 'Веб-картография и веб-картографирование: практическое пособие', description: 'Веб-картография и веб-картографирование: практическое пособие',
head: [
{
tag: 'script',
attrs: {
src: "//gc.zgo.at/count.js",
'data-goatcounter': "https://webkartography.goatcounter.com/count",
async: true
}
}
],
locales: { locales: {
root: { root: {
label: 'Русский', label: 'Русский',
@ -27,5 +38,7 @@ export default defineConfig({
components: { components: {
SocialIcons: './src/components/CustomSocialIcons.astro', SocialIcons: './src/components/CustomSocialIcons.astro',
} }
}), react()], }),
react()
],
}); });
Loading…
Cancel
Save