Skip to content

Commit

Permalink
Enable custom comment for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sunete committed Jun 2, 2020
1 parent fa844f9 commit a738b14
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ masthead_title : # overrides the website title displayed in the masthe
# breadcrumbs : false # true, false (default)
words_per_minute : 200
comments:
provider : "utterances" # false (default), "disqus", "discourse" , "staticman", "staticman_v2", "utterances", "custom"
provider : "custom" # false (default), "disqus", "discourse" , "staticman", "staticman_v2", "utterances", "custom"
disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
discourse:
Expand Down
20 changes: 9 additions & 11 deletions _includes/comments-providers/custom.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
<script src='//unpkg.com/valine/dist/Valine.min.js'></script>
<body>
<div id="vcomments"></div>
<script>
new Valine({
el: '#vcomments',
appId: 'fBruNownJxl4LxbgbUmhSNbG-gzGzoHsz',
appKey: 'iLHQpvO6X1Quor49czkLLi6m',
visitor: true
})
</script>
</body>
<div id="vcomments"></div>
<script>
new Valine({
el: '#vcomments',
appId: 'fBruNownJxl4LxbgbUmhSNbG-gzGzoHsz',
appKey: 'iLHQpvO6X1Quor49czkLLi6m',
visitor: true
})
</script>

0 comments on commit a738b14

Please sign in to comment.