summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-31 12:39:39 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-31 12:39:39 +0800
commit1c4bc1874cd98b087a66a0ef23a7db4f5750aa26 (patch)
tree1350af5ea6a0f3ab0adb1be2de9236505bac1e13
parent066b0797563d7d1b486009f95c14d6d86452212d (diff)
feat: add email link to action area
-rw-r--r--i18n/en.yml1
-rw-r--r--i18n/zh.yml1
-rw-r--r--layouts/_partials/posts/webmention-likes.html1
3 files changed, 3 insertions, 0 deletions
diff --git a/i18n/en.yml b/i18n/en.yml
index 0326df77..53d21209 100644
--- a/i18n/en.yml
+++ b/i18n/en.yml
@@ -51,6 +51,7 @@ fuzzyTimes:
night: Night
midnight: Midnight
actionMenu:
+ email: "or send me an email!"
interact: Interact
fediverse: Fediverse
openToot: Open Toot
diff --git a/i18n/zh.yml b/i18n/zh.yml
index f921124f..39b6db68 100644
--- a/i18n/zh.yml
+++ b/i18n/zh.yml
@@ -50,6 +50,7 @@ fuzzyTimes:
night: '晚上'
midnight: '深夜'
actionMenu:
+ email: "也欢迎邮件交流!"
interact: 互动
fediverse: 联邦宇宙
openToot: 打开帖子
diff --git a/layouts/_partials/posts/webmention-likes.html b/layouts/_partials/posts/webmention-likes.html
index 6baa36cd..df43e0e6 100644
--- a/layouts/_partials/posts/webmention-likes.html
+++ b/layouts/_partials/posts/webmention-likes.html
@@ -12,6 +12,7 @@
{{ 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>
{{ range $likes }}
<a href="{{ .author.url }}" target="_blank" title="{{ .author.name }}">