diff options
| -rw-r--r-- | assets/css/_markdown.scss | 4 | ||||
| -rw-r--r-- | layouts/_partials/posts/webmention-replies.html | 2 |
2 files changed, 5 insertions, 1 deletions
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 @@ </div> </header> - <div class="markdown-body leading-relaxed ml-3 pl-4 pr-2 b-l-4 b-l-solid b-neutral-200/50 dark:b-neutral-700/50"> + <div class="webmention-body markdown-body leading-relaxed ml-3 pl-4 pr-2 b-l-4 b-l-solid b-neutral-200/50 dark:b-neutral-700/50"> {{ index (index $reply.content 0) "html" | safeHTML }} {{ if strings.Contains .webmention.source "https://brid.gy" }} <p class="text-xs text-right text-secondary">通过 <a href="https://brid.gy/" target="_blank">Bridgy</a> 发送自联邦宇宙</p> |
