diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-06 12:14:55 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-06 12:14:55 +0800 |
| commit | 89d254108a6ecb53ca59d80b0e646b0da7685f1c (patch) | |
| tree | ef65fc0d0bb4dc5b92dcc47e3c5f1f7102764421 /layouts/_partials/posts | |
| parent | 49f9e6155f7de159329dc44e76a16a33cf8bfed7 (diff) | |
feat(action-menu): add link to fediverse
Diffstat (limited to 'layouts/_partials/posts')
| -rw-r--r-- | layouts/_partials/posts/action-menu/webmention-section.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/_partials/posts/action-menu/webmention-section.html b/layouts/_partials/posts/action-menu/webmention-section.html index 441e2491..81e90e3c 100644 --- a/layouts/_partials/posts/action-menu/webmention-section.html +++ b/layouts/_partials/posts/action-menu/webmention-section.html @@ -57,9 +57,23 @@ </div> {{ end }} </section> + + <!-- Fediverse interaction link --> + <section class="text-secondary text-sm"> + {{ with $.Params.toot }} + <a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="text-secondary hover:underline"> + {{ T "webmention.interactOnFediverse" }} → + </a> + {{ else }} + <a href="https://c7.io/@eltrac/tagged/%E5%8D%9A%E5%AE%A2%E6%9B%B4%E6%96%B0" target="_blank" rel="noopener noreferrer" class="text-secondary hover:underline"> + {{ T "webmention.interactOnFediverse" }} → + </a> + {{ end }} + </section> <hr /> {{ end }} + <!-- mentions --> {{ with $webmentionMentions }} <section class="markdown-body"> |
