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:
parent
ec4935ecdd
commit
483c297af8
1 changed files with 14 additions and 1 deletions
|
@ -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.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue