Skip to content

Commit

Permalink
g a
Browse files Browse the repository at this point in the history
  • Loading branch information
kings1990 committed Dec 6, 2023
1 parent 3b90d5f commit dedb53d
Show file tree
Hide file tree
Showing 2 changed files with 691 additions and 5 deletions.
18 changes: 13 additions & 5 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getDirname, path } from "@vuepress/utils";
import { defineUserConfig } from "vuepress";
import { docsearchPlugin } from "@vuepress/plugin-docsearch";
import { sitemapPlugin } from "vuepress-plugin-sitemap2";
import {getDirname, path} from "@vuepress/utils";
import {defineUserConfig} from "vuepress";
import {docsearchPlugin} from "@vuepress/plugin-docsearch";
import {sitemapPlugin} from "vuepress-plugin-sitemap2";
import theme from "./theme.js";

const __dirname = getDirname(import.meta.url);
Expand All @@ -20,6 +20,7 @@ export default defineUserConfig({
],
["script", { src: "//at.alicdn.com/t/c/font_2601581_144d8yxi3ht.js" }],
["script", { src: "/js/baidu.js" }],
["script", { src: "/js/gtag.js" }],
[
'script', {}, `
(function() {
Expand All @@ -28,8 +29,15 @@ export default defineUserConfig({
}
})();
`
],
[
'script', {}, `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-Y8G30ZWCYE');
`
]

// ["script", { src: "https://cdn.wwads.cn/js/makemoney.js" }],
],

Expand Down
Loading

0 comments on commit dedb53d

Please sign in to comment.