Skip to content

Commit

Permalink
bugfix: can't evaluate field disqusShortname in type page.Site
Browse files Browse the repository at this point in the history
  • Loading branch information
lau-jay committed Feb 25, 2020
1 parent 4db6676 commit ec37e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/disqus.html
Expand Up @@ -12,7 +12,7 @@
return;

var disqus_loaded = false;
var disqus_shortname = '{{ .Site.disqusShortname }}';
var disqus_shortname = '{{ .Site.DisqusShortname }}';
var disqus_button = document.getElementById("show-comments");

disqus_button.style.display = "";
Expand Down

0 comments on commit ec37e61

Please sign in to comment.