mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Docs: fix Disqus shortname reference
This commit is contained in:
parent
cfbae7cea2
commit
207a574f0c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ Users have noticed that enabling Disqus comments when running the Hugo web serve
|
|||
return;
|
||||
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
var disqus_shortname = '{{ .Site.Params.disqusShortname }}';
|
||||
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue