|
@@ -107,9 +107,9 @@
|
|
|
|
|
|
{{/* Disqus Comment Count JS. */}}
|
|
|
{{/* Note: count can appear both in listing previews and on the content page itself. */}}
|
|
|
- {{ $comments_provider := trim (site.Params.comments.provider | lower) " " }}
|
|
|
- {{ if eq $comments_provider "disqus" | and (site.Params.comments.disqus.show_count | default true) }}
|
|
|
- <script id="dsq-count-scr" src="https://{{site.Params.comments.disqus.shortname}}.disqus.com/count.js" async></script>
|
|
|
+ {{ $comments_provider := trim (site.Params.features.comment.provider | lower) " " }}
|
|
|
+ {{ if eq $comments_provider "disqus" | and (site.Params.features.comment.disqus.show_count | default true) }}
|
|
|
+ <script id="dsq-count-scr" src="https://{{site.Params.features.comment.disqus.shortname}}.disqus.com/count.js" async></script>
|
|
|
{{end}}
|
|
|
|
|
|
{{ $js_search_params := dict }}
|