diff options
| author | BigCoke233 <hi@guhub.cn> | 2025-12-16 20:47:53 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2025-12-16 20:47:53 +0800 |
| commit | c2302eaa29babf12877a062d602057dd5337341e (patch) | |
| tree | 50a3b3e6d5a82e359a78b6d718dd61ca6ad0c051 /layouts/_partials | |
| parent | b5fce1b4a8563b0ef088aecfc2a765b8521bce2c (diff) | |
feat: add webmention.js
Diffstat (limited to 'layouts/_partials')
| -rw-r--r-- | layouts/_partials/posts/comment.html | 3 | ||||
| -rw-r--r-- | layouts/_partials/scripts.html | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_partials/posts/comment.html b/layouts/_partials/posts/comment.html index 6e959f49..d05ff2d4 100644 --- a/layouts/_partials/posts/comment.html +++ b/layouts/_partials/posts/comment.html @@ -33,6 +33,9 @@ </p> </div> +<!-- webmention --> +<div id="webmentions"></div> + <!-- giscus script --> <script> function loadGiscus() { diff --git a/layouts/_partials/scripts.html b/layouts/_partials/scripts.html index 59fc6b85..7c094221 100644 --- a/layouts/_partials/scripts.html +++ b/layouts/_partials/scripts.html @@ -9,3 +9,5 @@ {{ partial "scripts/toc-js" . }} {{ partial "scripts/libra-js" . }} {{ partial "scripts/aplayer-js" . }} + +<script src="/js/webmention.min.js" async></script> |
