summaryrefslogtreecommitdiff
path: root/layouts/_partials/posts/comment.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-08-18 17:07:21 +0800
committerEltrac <hi@guhub.cn>2025-08-18 17:07:21 +0800
commit2281a020e0234c86186d9775354b2f6efe85b08e (patch)
tree0741c0125574f00da874b15f69c1bdeef48fdecc /layouts/_partials/posts/comment.html
parentcc7b2d86bdc95f8e04d7e4b7c78ed28fa1b97aed (diff)
feat: add email info before comment section
Former-commit-id: 07d3790e125a64d9516a0eb64508309f38797cba
Diffstat (limited to 'layouts/_partials/posts/comment.html')
-rw-r--r--layouts/_partials/posts/comment.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/_partials/posts/comment.html b/layouts/_partials/posts/comment.html
index 49638618..01e04cb4 100644
--- a/layouts/_partials/posts/comment.html
+++ b/layouts/_partials/posts/comment.html
@@ -21,11 +21,16 @@
{{ end }}
</div>
{{ end }}
- <div class="giscus my-4">
+
+ <p class="mt-4 text-size-sm text-secondary">
+ *{{ T "emailMe" }} <a href="mailto:{{ .Site.Params.email }}">{{ .Site.Params.email }}</a>
+ </p>
+ <div class="giscus mb-4">
<p style="text-align:center">
{{ T "postPage.commentNotLoaded" }}
</p>
</div>
+
<!-- giscus script -->
<script id="giscus-script"
src="https://giscus.app/client.js"