From 794065354abd3c74e6b87598a20b1cd9b66293bb Mon Sep 17 00:00:00 2001 From: Junyi Hou Date: Mon, 18 Mar 2024 12:33:50 +0800 Subject: [PATCH] add analyze icon in footer if "umami.shareUrl" is set. --- layouts/partials/footer.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index f8b3f95..9f2ca6e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -14,8 +14,11 @@ {{ end }} -
+
© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }} + {{ if .Site.Params.UmamiAnalytics.shareUrl }} + + {{ end }}
{{ i18n "powered" }} Hugo, {{ i18n "theme" }} Anubis2.