Add gitment comment to solve object ProgressEvent, Chinese, etc

Find the relevant EJS file contents in the theme directory:

<div id="comment-container"></div>
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
<script>
	var gitment = new Gitment({
		id: '<%= md5(page.path) %>'.owner: '<%= get_config('comment.owner') % > '.repo: '<%= get_config('comment.repo') % > '.oauth: {
			client_id: '<%= get_config('comment.client_id') % > '.client_secret: '<%= get_config('comment.client_secret') % > ',
		},
	})
	gitment.render('comment-container')
</script>
Copy the code

Include the following:

<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
Copy the code

To:

<link rel="stylesheet" href="https://billts.site/extra_css/gitment.css">
<script src="https://billts.site/js/gitment.js"></script>
Copy the code

The demo interface is as follows: deepmiss.cn/2019/09/07/…