1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-24 23:39:37 +02:00

Add Umami analytics script to VitePress config for enhanced tracking

This commit is contained in:
Sean Morley 2024-11-27 12:18:29 -05:00
parent ec4935ecdd
commit 483c297af8

View file

@ -1,8 +1,21 @@
import { defineConfig } from "vitepress";
const inProd = process.env.NODE_ENV === "production";
// https://vitepress.dev/reference/site-config
export default defineConfig({
head: [["link", { rel: "icon", href: "/adventurelog.png" }]],
head: [
["link", { rel: "icon", href: "/adventurelog.png" }],
[
"script",
{
defer: "",
src: "https://cloud.umami.is/script.js",
"data-website-id": "a7552764-5a1d-4fe7-80c2-5331e1a53cb6",
},
],
],
ignoreDeadLinks: "localhostLinks",
title: "AdventureLog",
description: "The ultimate travel companion.",