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 | 737f211bb892cc6df59c04ba5b82110b87ef6cd8 (patch) | |
| tree | 50a3b3e6d5a82e359a78b6d718dd61ca6ad0c051 /layouts/_partials | |
| parent | e6b4d8b62ecd320b3d4b3f8b4c504e8fb0c21185 (diff) | |
feat: add webmention.js
Former-commit-id: c2302eaa29babf12877a062d602057dd5337341e
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> |
