Skip to content

Commit

Permalink
config the site
Browse files Browse the repository at this point in the history
  • Loading branch information
wangalin committed Jul 18, 2024
1 parent 754f0ed commit 41a2fa7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@ import { defineConfig } from 'vitepress'
export default defineConfig({
title: "Elin's Blog",
description: "To record and Share my ideas.",
lastUpdated: true,
sitemap: {
hostname: "https://violinmeng.github.io"
},
head: [
[
'script',
{ async: '', src: 'https://www.googletagmanager.com/gtag/js?id=GTM-KDFF455F' }
],
[
'script',
{},
`window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'GTM-KDFF455F');`
]
],
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
Expand Down

0 comments on commit 41a2fa7

Please sign in to comment.