feat(comment): added sid for Changyan comments (#133)

Closes #121
This commit is contained in:
Trent Zhou 2019-03-31 15:24:10 +08:00 committed by olOwOlo
parent f14d7b5f73
commit cd7f705800

View file

@ -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;