summaryrefslogtreecommitdiff
path: root/layouts/_partials/items
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/items')
-rw-r--r--layouts/_partials/items/post-small.html2
-rw-r--r--layouts/_partials/items/post.html5
2 files changed, 2 insertions, 5 deletions
diff --git a/layouts/_partials/items/post-small.html b/layouts/_partials/items/post-small.html
index 3113ba2b..28a4a995 100644
--- a/layouts/_partials/items/post-small.html
+++ b/layouts/_partials/items/post-small.html
@@ -1,7 +1,7 @@
{{ $isWeekly := (eq .Params.categories "稻草人周刊") }}
<li class="flex justify-between text-size-lg
{{ if $isWeekly }} weekly animate-duration-500 transition-opacity{{ end }}">
- <a href="{{ .RelPermalink }}" data-umami-event="🗃️ Click Post Link from Category Page">
+ <a href="{{ .RelPermalink }}">
{{ .Title }}{{ with .Params.subtitle }}:<span class="text-secondary">{{. }}</span>
{{ end }}
</a>
diff --git a/layouts/_partials/items/post.html b/layouts/_partials/items/post.html
index 8aefb8a7..64606f04 100644
--- a/layouts/_partials/items/post.html
+++ b/layouts/_partials/items/post.html
@@ -10,10 +10,7 @@
</p>
<h2 class="xerox"
{{ if $showSummary }} style="margin-bottom: 0"{{ end }}>
- <a
- href="{{ .ctx.Permalink }}"
- data-umami-event="🏠 Click post link from index"
- >
+ <a href="{{ .ctx.Permalink }}">
{{ if eq .ctx.Section "library" }}
读《{{ .ctx.Title }}》
{{ else }}