From fb2eae0802f2d48be927f0634608986d6d782358 Mon Sep 17 00:00:00 2001 From: eltrac Date: Mon, 23 Mar 2026 19:10:21 +0800 Subject: feat: hide h-cite from webmention replies --- assets/css/_markdown.scss | 4 ++++ layouts/_partials/posts/webmention-replies.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/_markdown.scss b/assets/css/_markdown.scss index 3c13ece1..6252c210 100644 --- a/assets/css/_markdown.scss +++ b/assets/css/_markdown.scss @@ -259,3 +259,7 @@ } } } + +.webmention-body { + .h-cite { display: none } +} diff --git a/layouts/_partials/posts/webmention-replies.html b/layouts/_partials/posts/webmention-replies.html index 42f24579..c59fa2f2 100644 --- a/layouts/_partials/posts/webmention-replies.html +++ b/layouts/_partials/posts/webmention-replies.html @@ -34,7 +34,7 @@ -
+
{{ index (index $reply.content 0) "html" | safeHTML }} {{ if strings.Contains .webmention.source "https://brid.gy" }}

通过 Bridgy 发送自联邦宇宙

-- cgit v1.2.3