添加评论区
This commit is contained in:
parent
a3aa5ae691
commit
0ba3f2b4f3
10
layouts/shortcodes/comment.html
Normal file
10
layouts/shortcodes/comment.html
Normal 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>
|
@ -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) }}
|
||||
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user