From 7430d5c408e16aace044e1815e1830e3f50d9280 Mon Sep 17 00:00:00 2001 From: 7Wate Date: Wed, 28 Dec 2022 15:18:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=EF=BC=9A=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=20umami=20=E7=BB=9F=E8=AE=A1=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 3 +++ static/js/umami.js | 1 + 2 files changed, 4 insertions(+) create mode 100644 static/js/umami.js diff --git a/docusaurus.config.js b/docusaurus.config.js index 3220dfa8..1f79c41b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -13,6 +13,9 @@ const config = { onBrokenLinks: "log", onBrokenMarkdownLinks: "log", favicon: "img/favicon.ico", + headTags: [ + { src: 'js/umami.js', type: 'text/javascript' } + ], // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. diff --git a/static/js/umami.js b/static/js/umami.js new file mode 100644 index 00000000..0ee21a05 --- /dev/null +++ b/static/js/umami.js @@ -0,0 +1 @@ + \ No newline at end of file