fix(comment): gitment object progressEvent error (#165)

This commit is contained in:
Hank 2019-05-25 22:56:19 +08:00 committed by olOwOlo
parent 8ce9bce771
commit 90598768ad

View file

@ -55,8 +55,8 @@
<!-- gitment --> <!-- gitment -->
{{- if .Site.Params.gitment.owner -}} {{- if .Site.Params.gitment.owner -}}
<div id="comments-gitment"></div> <div id="comments-gitment"></div>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitment@0.0.3/style/default.min.css" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/theme-next/theme-next-gitment@1/default.min.css" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/gitment@0.0.3/dist/gitment.browser.min.js" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/gh/theme-next/theme-next-gitment@1/gitment.browser.min.js" crossorigin="anonymous"></script>
<script type="text/javascript"> <script type="text/javascript">
var gitment = new Gitment({ var gitment = new Gitment({
id: '{{ .Date }}', id: '{{ .Date }}',