feat(website): add umami analytics
All checks were successful
Build and Push Docker Image / build (push) Successful in 48s
All checks were successful
Build and Push Docker Image / build (push) Successful in 48s
This commit is contained in:
parent
f1b4560d66
commit
a9fbf96b62
@ -1,13 +1,21 @@
|
|||||||
import starlight from '@astrojs/starlight'
|
import starlight from '@astrojs/starlight'
|
||||||
// @ts-check
|
|
||||||
import { defineConfig } from 'astro/config'
|
import { defineConfig } from 'astro/config'
|
||||||
|
|
||||||
// https://astro.build/config
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
outDir: '../../build/website',
|
outDir: '../../build/website',
|
||||||
integrations: [
|
integrations: [
|
||||||
starlight({
|
starlight({
|
||||||
title: 'boring.tools',
|
title: 'boring.tools',
|
||||||
|
head: [
|
||||||
|
{
|
||||||
|
tag: 'script',
|
||||||
|
attrs: {
|
||||||
|
src: 'https://umami.hashdot.co/script.js',
|
||||||
|
'data-website-id': '78b1d598-5783-4bc5-a414-4319fea1876a',
|
||||||
|
defer: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
social: {
|
social: {
|
||||||
github: 'https://github.com/boring-tools/boring.tools',
|
github: 'https://github.com/boring-tools/boring.tools',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user