Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictoria Drake <hello@victoria.dev>2020-12-31 15:47:49 +0300
committerVictoria Drake <hello@victoria.dev>2020-12-31 15:47:49 +0300
commitfe776a91c87ffb4adb4cea6abec0f3d4fa05b1b9 (patch)
tree016cd709b376ba49e13f638ba44f5abb50dc59b3
parent7167496d884edcc0105e8dc480669c3444974760 (diff)
Add Plausible
-rw-r--r--layouts/partials/head/plausible.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/head/plausible.html b/layouts/partials/head/plausible.html
new file mode 100644
index 0000000..c368a54
--- /dev/null
+++ b/layouts/partials/head/plausible.html
@@ -0,0 +1,2 @@
+{{ $url := urls.Parse .Site.BaseURL }}
+<script async defer data-domain="{{ $url.Host }}" src="https://plausible.io/js/plausible.js"></script> \ No newline at end of file