添加评论区

This commit is contained in:
ember 2025-02-20 20:21:04 +08:00
parent a3aa5ae691
commit 0ba3f2b4f3
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<script src="https://cdn.ember.ac.cn/js/vue@2.6.14.js"/>
<script src="https://cdn.ember.ac.cn/js/blog-comment.min.js"/>
<div id="app">
<comment-section></comment-section>
</div>
<script>
new Vue({
el: '#app'
});
</script>

View File

@ -30,6 +30,10 @@
{{ partial "article/components/links" . }}
{{ end }}
{{ if not (eq .Params.comment false) }}
{{ partial "blog-comment" . }}
{{ end }}
{{ partial "article/components/related-content" . }}
{{ if not (eq .Params.comments false) }}

View File

@ -0,0 +1,10 @@
<script src="https://cdn.ember.ac.cn/js/vue@2.6.14.js"></script>
<script src="https://cdn.ember.ac.cn/js/blog-comment.min.js"></script>
<div id="app">
<comment-section></comment-section>
</div>
<script>
new Vue({
el: '#app'
})
</script>