From 37b796da0f1e0f0d27ceeaf7598dedcca4070dd8 Mon Sep 17 00:00:00 2001 From: eltrac Date: Fri, 1 May 2026 14:03:18 +0800 Subject: feat(ui): add "Reply via" before email and fedi links --- i18n/en.toml | 1 + i18n/zh.toml | 1 + layouts/_partials/posts/interaction-buttons.html | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/i18n/en.toml b/i18n/en.toml index bd37da9..1c1838d 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -95,3 +95,4 @@ openIn = "Open in {{ . }}" note = "This website doesn’t have a comment section. You can discuss this page on %s, or %s. %s works, too. If you wrote a post on your site in reply to this page, %s to submit it." sendEmail = "Email me" goHere = "go here" +replyVia = "Reply via" diff --git a/i18n/zh.toml b/i18n/zh.toml index 2329fc3..d9eddcd 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -97,3 +97,4 @@ openIn = "在 {{ . }} 中打开" note = "「極客死亡計劃」没有评论区,你可以前往%s参与讨论,或者给我%s。本站也支持 %s 规范,如果你写了一篇文章回应此文,可以%s用表单提交。目前只有 Webmention 会显示在网站上。" sendEmail = "发邮件" goHere = "去这里" +replyVia = "回复:" diff --git a/layouts/_partials/posts/interaction-buttons.html b/layouts/_partials/posts/interaction-buttons.html index 524254e..a4b7bd8 100644 --- a/layouts/_partials/posts/interaction-buttons.html +++ b/layouts/_partials/posts/interaction-buttons.html @@ -6,7 +6,10 @@
{{ partial "posts/like" . }}
-
+
+

+ {{ T "interact.replyVia" }} +