diff options
| author | Reorx <novoreorx@gmail.com> | 2022-06-01 16:39:49 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-06-01 16:39:49 +0800 |
| commit | 6ec8c5a7977727d609c3db159f6cee43cb189899 (patch) | |
| tree | 54c30cfc22921102aeebc797190cbc06965ab8d9 /exampleSite | |
| parent | 426cfffb3bad4ba605be240194af4553ecfea833 (diff) | |
exampleSite: add umami analytics
Diffstat (limited to 'exampleSite')
| -rw-r--r-- | exampleSite/config.yml | 2 | ||||
| -rw-r--r-- | exampleSite/layouts/partials/custom_analytics.html | 1 |
2 files changed, 3 insertions, 0 deletions
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 @@ +<script async defer data-website-id="f4e3ad0a-7fc1-4f18-b08c-9be77b60cdd5" src="https://oishii.reorx.com/oishii.js"></script> |
