mirror of https://github.com/luizdepra/hugo-coder.git

Naim A
21.22.2019 7ed7d3c51eacf760bba8ed4f67994d0c97c1108a
disqus: fixed issue #199 (#200)

2 files modified
3 ■■■■ changed files
CONTRIBUTORS.md 1 ●●●● patch | view | raw | blame | history
layouts/partials/posts/disqus.html 2 ●●● patch | view | raw | blame | history
CONTRIBUTORS.md
@@ -40,3 +40,4 @@
- [Łukasz Mróz](https://github.com/mrozlukasz)
- [Jia "Jay" Tan](https://github.com/j7an)
- [Ryan](https://github.com/alrayyes)
- [Naim A.](https://github.com/naim94a)
layouts/partials/posts/disqus.html
@@ -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" . }}
{{- end -}}