disqus: fixed issue #199 (#200)

This commit is contained in:
Naim A 2019-07-21 17:22:25 +03:00 committed by Luiz F. A. de Prá
parent 26a6a0a7cd
commit 7ed7d3c51e
2 changed files with 2 additions and 1 deletions

View File

@ -40,3 +40,4 @@
- [Łukasz Mróz](https://github.com/mrozlukasz) - [Łukasz Mróz](https://github.com/mrozlukasz)
- [Jia "Jay" Tan](https://github.com/j7an) - [Jia "Jay" Tan](https://github.com/j7an)
- [Ryan](https://github.com/alrayyes) - [Ryan](https://github.com/alrayyes)
- [Naim A.](https://github.com/naim94a)

View File

@ -1,3 +1,3 @@
{{- if and (isset .Site "disqusshortname") (not (eq .Site.DisqusShortname "" )) (eq (.Params.disable_comments | default false) false) -}} {{- if and (not (eq (.Site.DisqusShortname | default "") "")) (eq (.Params.disable_comments | default false) false) -}}
{{ template "_internal/disqus.html" . }} {{ template "_internal/disqus.html" . }}
{{- end -}} {{- end -}}