From 6ec8c5a7977727d609c3db159f6cee43cb189899 Mon Sep 17 00:00:00 2001 From: Reorx Date: Wed, 1 Jun 2022 16:39:49 +0800 Subject: [PATCH] exampleSite: add umami analytics --- exampleSite/config.yml | 2 ++ exampleSite/layouts/partials/custom_analytics.html | 1 + 2 files changed, 3 insertions(+) create mode 100644 exampleSite/layouts/partials/custom_analytics.html diff --git a/exampleSite/config.yml b/exampleSite/config.yml index 78d5364..567ed4a 100644 --- a/exampleSite/config.yml +++ b/exampleSite/config.yml @@ -22,6 +22,8 @@ params: - posts disableAnchoredHeadings: true images: ["cover.png"] + DateFormat: "2006-01-02" + useCustomAnalytics: true defaultTheme: auto # disableThemeToggle: true diff --git a/exampleSite/layouts/partials/custom_analytics.html b/exampleSite/layouts/partials/custom_analytics.html new file mode 100644 index 0000000..40b19a8 --- /dev/null +++ b/exampleSite/layouts/partials/custom_analytics.html @@ -0,0 +1 @@ +