Disqus load
This commit is contained in:
parent
ac0cc1ea04
commit
10de6cd3d9
|
@ -75,7 +75,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var disqus_shortname = 'wide-playground';
|
var disqus_shortname = 'wide-playground';
|
||||||
var disqus_identifier = {{.fileName}};
|
var disqus_identifier = {{.fileName}};
|
||||||
var disqus_url = window.location.protocol + "//" + {{.conf.Server}} + {{.conf.Context}} + "/playground/" + {{.fileName}};
|
var disqus_url = window.location.protocol + "//" + window.location.host + {{.conf.Context}} + "/playground/" + {{.fileName}};
|
||||||
(function() {
|
(function() {
|
||||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||||
|
@ -97,7 +97,6 @@
|
||||||
<script>
|
<script>
|
||||||
var config = {
|
var config = {
|
||||||
"context": "{{.conf.Context}}",
|
"context": "{{.conf.Context}}",
|
||||||
"server": "{{.conf.Server}}",
|
|
||||||
"staticServer": "{{.conf.StaticServer}}",
|
"staticServer": "{{.conf.StaticServer}}",
|
||||||
"channel": "{{.conf.Channel}}",
|
"channel": "{{.conf.Channel}}",
|
||||||
"wideSessionId": "{{.sid}}",
|
"wideSessionId": "{{.sid}}",
|
||||||
|
|
Loading…
Reference in New Issue