twikoo评论

This commit is contained in:
浪子 2024-05-06 19:23:19 +08:00
parent a4a575f450
commit c5f44c39b9
1 changed files with 20 additions and 0 deletions

View File

@ -73,6 +73,26 @@
{{ if .Params.story_id }} {{ if .Params.story_id }}
{{ partial "commentlist.html" . }} {{ partial "commentlist.html" . }}
{{ end }} {{ end }}
<div id="comments" class="responsesWrapper">
<h3 class="comments--title"><svg viewBox="0 0 24 24" class="icon" aria-hidden="true" width="16" height="16">
<g>
<path
d="M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01zm8.005-6c-3.317 0-6.005 2.69-6.005 6 0 3.37 2.77 6.08 6.138 6.01l.351-.01h1.761v2.3l5.087-2.81c1.951-1.08 3.163-3.13 3.163-5.36 0-3.39-2.744-6.13-6.129-6.13H9.756z">
</path>
</g>
</svg>评论</h3>
<ol class="commentlist sulliComment--list">
</ol>
<div id="tcomment"></div>
<script src="https://cdn.staticfile.org/twikoo/1.6.32/twikoo.all.min.js"></script>
<script>
twikoo.init({
envId: 'https://t.imsun.org',
el: '#tcomment',
})
</script>
</div>
</article> </article>
<!-- {{ if or .PrevPage .NextPage }} <!-- {{ if or .PrevPage .NextPage }}
<nav class="navigation post-navigation is-active"> <nav class="navigation post-navigation is-active">