diff options
| -rw-r--r-- | i18n/en.toml | 1 | ||||
| -rw-r--r-- | i18n/zh.toml | 1 | ||||
| -rw-r--r-- | layouts/_partials/posts/interaction-buttons.html | 5 |
3 files changed, 6 insertions, 1 deletions
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 @@ <div id="interaction-like" class="{{ $itemClasses }}"> {{ partial "posts/like" . }} </div> - <div class="flex gap-2"> + <div class="flex gap-2 items-center"> + <p class="text-secondary text-xs m-0"> + {{ T "interact.replyVia" }} + </p> <div id="interaction-email" class="{{ $itemClasses }}"> <a href="mailto:hi@eltr.ac?subject=回复:{{ .Title }}" class="{{ $itemLinkClasses }}"> |
