summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-02-02 23:37:35 +0800
committerBigCoke233 <hi@guhub.cn>2026-02-02 23:37:35 +0800
commitdd55cd8f05dced06ae129e4b53426b0aa8921250 (patch)
tree21ed2072dba928c5273b38db70a71d293d7963e7 /layouts
parent797aa2c5a1199357360aad0857a727ca1125d9fa (diff)
feat: remove unparsed emoji shotcode `:.*?:` in Webmention
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_partials/posts/webmention-replies.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/posts/webmention-replies.html b/layouts/_partials/posts/webmention-replies.html
index 570a0e4d..fbdfc773 100644
--- a/layouts/_partials/posts/webmention-replies.html
+++ b/layouts/_partials/posts/webmention-replies.html
@@ -8,7 +8,7 @@
<div class="text-secondary">
<h4 class="m-0">
<a href="{{ or .url .author.url }}">
- {{ .author.name }}
+ {{ replaceRE ":.*?:" "" .author.name }}
</a>
</h4>
{{ $t := time.AsTime .received }}