aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrent Zhou <trent.zhou@gmail.com>2019-03-31 15:24:10 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2019-03-31 15:24:10 +0800
commitcd7f705800097659601828bc63bf3f1ea8d19033 (patch)
tree28881cec488f7d0b59c23f0e890e96dce8ad2943
parentf14d7b5f734fb8ffea6127c210d66edc72bddcc7 (diff)
feat(comment): added sid for Changyan comments (#133)
Closes #121
-rw-r--r--layouts/partials/comments.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html
index f8411d2..e7d6f6d 100644
--- a/layouts/partials/comments.html
+++ b/layouts/partials/comments.html
@@ -19,7 +19,7 @@
<!-- changyan -->
{{- if and .Site.Params.changyanAppid .Site.Params.changyanAppkey -}}
- <div id="SOHUCS"></div>
+ <div id="SOHUCS" sid="{{ .URL }}"></div>
<script type="text/javascript">
(function(){
if (window.location.hostname === 'localhost') return;