summaryrefslogtreecommitdiff
path: root/layouts/posts/single.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-04-21 10:28:00 +0800
committerEltrac <hi@guhub.cn>2025-04-21 10:28:00 +0800
commita58715681fdc389e53bea87735e15db8669002f5 (patch)
tree5cfcab9cb01802ce96dd1ccd8af379c1ac3c0218 /layouts/posts/single.html
parentc1f7171dd1dc505dd7c92a3193ad6abae2c8a0d4 (diff)
chore: track "click related post" event
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r--layouts/posts/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index efea94f0..32c58a78 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -57,7 +57,7 @@
<ul class="related-posts-list">
{{ range . }}
<li class="related-posts-item">
- <a href="{{ .RelPermalink }}">
+ <a href="{{ .RelPermalink }}" data-umami-event="Click Related Post">
{{ .LinkTitle }}
{{ with .Params.subtitle }}
<span class="related-post-subtitle">:{{ . }}</span>