summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-02-07 20:24:34 +0800
committerBigCoke233 <hi@guhub.cn>2026-02-07 20:24:34 +0800
commitaad2475a1064875c228a6fde5a089ed97104d69b (patch)
tree2933434f29e90c274586deff81761c7444337bcc
parentb46e42280ca32aca178e56dc3f5caa275bad95af (diff)
feat: add instruction link in action area
-rw-r--r--layouts/_partials/posts/webmention-likes.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/_partials/posts/webmention-likes.html b/layouts/_partials/posts/webmention-likes.html
index 4d8131c2..df2ff83b 100644
--- a/layouts/_partials/posts/webmention-likes.html
+++ b/layouts/_partials/posts/webmention-likes.html
@@ -12,7 +12,12 @@
{{ partial "posts/fediverse-form" $page }}
{{ partial "posts/webmention-form" $page }}
</div>
- <p class="text-sm text-secondary m-0 mt-2"><a href="mailto:hi@eltr.ac?subject=Re%3A%20{{ $page.Title }}">📧 {{ T "actionMenu.email" }}</a></p>
+ <div class="flex justify-between mt-2 items-center">
+ <p class="text-sm text-secondary m-0"><a href="mailto:hi@eltr.ac?subject=Re%3A%20{{ $page.Title }}">📧 {{ T "actionMenu.email" }}</a></p>
+ {{ if eq $page.Site.Language.Lang "zh" }}
+ <p class="m-0 text-xs"><a class="text-secondary" href="/posts/site-report-4/#所以怎么点赞和评论你的博客">这是什么?</a></p>
+ {{ end }}
+ </div>
</div>
{{ range $likes }}
<a href="{{ .author.url }}" target="_blank" title="{{ .author.name }}" class="inline-flex items-center">